Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 267 Bytes

File metadata and controls

1 lines (1 loc) · 267 Bytes

git revert should be used to undo changes on a public branch, and git reset should be reserved for undoing changes on a private branch. You can also think of git revert as a tool for undoing committed changes, while git reset HEAD is for undoing uncommitted changes.