.gitconfig: add alias stash-pull
This commit is contained in:
parent
f850f3431f
commit
8235bedfa4
|
|
@ -56,5 +56,8 @@
|
||||||
# Reset HEAD to last commit, but keep files as they are
|
# Reset HEAD to last commit, but keep files as they are
|
||||||
undo = reset HEAD~1 --mixed
|
undo = reset HEAD~1 --mixed
|
||||||
|
|
||||||
|
# Stash changes, pull and pop stash again
|
||||||
|
stash-pull = !git stash && git pull && git stash pop
|
||||||
|
|
||||||
# Submodule helpers
|
# Submodule helpers
|
||||||
sm-update = submodule update --init --recursive --remote --merge
|
sm-update = submodule update --init --recursive --remote --merge
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue