Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created March 13, 2012 01:28
Show Gist options
  • Save garybernhardt/2026029 to your computer and use it in GitHub Desktop.
Save garybernhardt/2026029 to your computer and use it in GitHub Desktop.
failbowl:temp(master+!?) $ git st
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: a
# new file: c
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: b
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# d
failbowl:temp(master+!?) $ git stash
gSaved working directory and index state WIP on master: 274230d 1
HEAD is now at 274230d 1
failbowl:temp(master?) $ git st
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# d
nothing added to commit but untracked files present (use "git add" to track)
failbowl:temp(master?) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment