Skip to content

Instantly share code, notes, and snippets.

@xfsnowind
Created September 29, 2015 18:39
Show Gist options
  • Save xfsnowind/b81c56fc9fd76d84b24b to your computer and use it in GitHub Desktop.
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
# 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