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.
forked from mfrcodingproject/learn-git
-
Notifications
You must be signed in to change notification settings - Fork 0
HujjatGh/learn-git
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Just a basic repository for learning git.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published