Git snapshot: take a snapshot and stash it without messing with your working tree
This commit is contained in:
parent
a672e64e36
commit
5b850667cd
@ -16,6 +16,10 @@
|
||||
a = add # add
|
||||
chunkyadd = add --patch # stage commits chunk by chunk
|
||||
|
||||
# via http://blog.apiaxle.com/post/handy-git-tips-to-stop-you-getting-fired/
|
||||
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}"
|
||||
snapshots = !git stash list --grep snapshot
|
||||
|
||||
# branch
|
||||
b = branch -v # branch (verbose)
|
||||
|
||||
@ -111,6 +115,7 @@
|
||||
# Git diff will use (i)ndex, (w)ork tree, (c)ommit and (o)bject
|
||||
# instead of a/b/c/d as prefixes for patches
|
||||
mnemonicprefix = true
|
||||
algorithm = patience
|
||||
[rerere]
|
||||
# Remember my merges
|
||||
# http://gitfu.wordpress.com/2008/04/20/git-rerere-rereremember-what-you-did-last-time/
|
||||
|
Loading…
Reference in New Issue
Block a user