Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Git Tutorials for Beginners. Parent comment
git revert is the "undo committed change" command.
git reset is the "discard uncommitted change" command (what is called "revert" by Subversion, Mercurial, Perforce, Bazaar, Darcs, Fossil, and SVK).
There are no comments on this comment yet.
git revert is the "undo committed change" command.
git reset is the "discard uncommitted change" command (what is called "revert" by Subversion, Mercurial, Perforce, Bazaar, Darcs, Fossil, and SVK).