git reset does not affect commit, but changes index, stage to them#64
Closed
randomecho wants to merge 2 commits intogit:gh-pagesfrom
Closed
git reset does not affect commit, but changes index, stage to them#64randomecho wants to merge 2 commits intogit:gh-pagesfrom
randomecho wants to merge 2 commits intogit:gh-pagesfrom
Conversation
Clear up what happens when you run `git reset` in that it does not affect the commit, or allow to change it per se, but that it affects what is sitting in the index and staging as pointed to by the commit or HEAD pointer mentioned. Fixes git#63
Member
|
Looks like it nicely addresses the concerns in #63. Will want other @github/training-team members to check. |
There was a problem hiding this comment.
Just a small modification to the description here?
"moves HEAD to specified commit reference, index and staging are untouched"
Contributor
Author
|
Thanks for the revision notes. Totally on board with the edits. |
|
Hi everyone, what's the story with this pull request? Was about to recommend this site as a great way to learn git basics but this change has to be made first. Happy to do any work needed to make this happen. |
Contributor
Author
|
This looks merged. |
Member
|
@randomecho @adailey14 Thank you both! Merged and shipped! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clear up what happens when you run
git resetin that it does not affect the commit, or allow to change it per se, but that it affects what is sitting in the index and staging as pointed to by the commit or HEAD pointer mentioned.This should make the notes actual now.