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.
HujjatGh/learn-git
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|