Re:Gitless: a version control system
by arielb1 on Sunday October 02, 2016 @12:00PM
(#12622903)
How are `git reset` and `git revert` related? How are `git fetch` and `git cherrypick` related?
[ Parent
| on HN ]
Re:Gitless: a version control system
by bluejekyll on Sunday October 02, 2016 @03:41PM
(#12623869)
In my mind you use many of those commands to perform actions in the repo or locally which are related.
For example: 'git reset HEAD~1' is something I use often, it is vaguely like 'git revert <last-hash>'. Therefore I see them as providing similar functions semantically, but not literally.
'git fetch' and 'git cherrypick' are again similar in my mind where one is pulling changes from a remote, while the other pulls a set of changes from one branch into another locally. This is not as good an example though, but I do think they have slightly overlapping concepts.