git / git-reference

Online Git Reference at http://git.github.io/git-reference/
Other
996 stars 363 forks source link

Fixed an incorrect statement in the 'git reset' section. #86

Closed fpl9000 closed 8 years ago

fpl9000 commented 9 years ago

This fixes the following misstatement in the git reset section: "[...] you run git reset HEAD to undo the last commit". Also, it appears the --hard option was omitted from the command, since this paragraph is part of the discussion of --hard.

fpl9000 commented 8 years ago

Hi! Should I delete this pull request? If it's not acceptable, I'd rather not leave it unmerged.

brntbeer commented 8 years ago

I think this is a confusion with what "in a nutshell is suppose to be". It's not called out well enough, but it's suppose to be for the entire section, and be a summary of (i suppose) the most important piece for that command.

Take a look at https://github.com/git/git-reference/blob/gh-pages/basic/index.html#L586-L591, the In a nutshell section here only discusses commit in general, and not commit -a

This is my least favorite part of open source, but I'm going to close out this PR. Sorry! thank you for the PR though and for following up