Added gsnapshot for making a snapshot of the current workspace in the stashes

This commit is contained in:
Marco de Jongh 2014-02-21 15:43:06 +01:00
commit 8cb6f4bc96

View file

@ -156,5 +156,7 @@ alias gunignore='git update-index --no-assume-unchanged'
# list temporarily ignored files
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
# Snapshot current workspace for backup purposes
alias gsnapshot='git stash save "snapshot: $(date)" && git stash apply "stash@{0}"'