.gitconfig: add alias stash-pull

This commit is contained in:
Lexi / Zoe 2021-06-02 20:51:50 +02:00
parent f850f3431f
commit 8235bedfa4
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 3 additions and 0 deletions

View File

@ -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