mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Added gsnapshot for making a snapshot of the current workspace in the stashes
This commit is contained in:
parent
598a9c6f99
commit
8cb6f4bc96
1 changed files with 2 additions and 0 deletions
|
|
@ -156,5 +156,7 @@ alias gunignore='git update-index --no-assume-unchanged'
|
||||||
# list temporarily ignored files
|
# list temporarily ignored files
|
||||||
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
|
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}"'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue