#git bot interface
History of !reset
- reset does two things! (1) without file/path argument: 'git reset [flags] [<commit>]' = make the current branch point to <commit> (default: HEAD). --soft = don't do anything else. --mixed (default) = overwrite the index to match. --hard = overwrite the working files to match. (2) 'git reset [<commit>] -- <path>' = overwrite the index entries for <path> with the content from <commit> (default: HEAD)
By jast at 2015-09-02 13:52:30
- A good resource explaining git-reset is http://git-scm.com/2011/07/11/reset.html
By EugeneKay at 2012-08-31 09:13:41
- A good resource explaining git-reset is http://progit.org/2011/07/11/reset.html
By ikke at 2012-01-09 07:50:28