4 examples for git stash

{{ score }}
  # Save unfinished work onto a stack - you can get it back later 
git stash

# List your stashes
git stash list

# Get back the most recent stash 
git stash apply

# Get back an earlier stash (third from top in this case)
git stash apply stash@{3}
{{ score }}
  # Save unfinished to a stash named "foo".
git stash save "foo"
{{ score }}
  # Pop the top item from the stash (apply + drop) 
git stash pop
{{ score }}
  # Stash unstaged files
git stash -k