Created
September 29, 2015 18:39
-
-
Save xfsnowind/b81c56fc9fd76d84b24b to your computer and use it in GitHub Desktop.
show git status after git soft reset on blog difference among soft mixed and hard of git command git reset on 2014/03/26
This file contains 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
# Shell | |
> git reset --soft HEAD~1 | |
> git status | |
On branch master Changes to be committed: | |
(use "git reset HEAD <file>..." to unstage) | |
new file: | |
mappe/mappeFil | |
new file: | |
stagingMappe/trackedFil | |
Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
stagingMappe/untrackedFil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment