diff --git a/.gitconfig.inc/common.gitconfig b/.gitconfig.inc/common.gitconfig index 1d70d49..5adc856 100644 --- a/.gitconfig.inc/common.gitconfig +++ b/.gitconfig.inc/common.gitconfig @@ -56,5 +56,8 @@ # Reset HEAD to last commit, but keep files as they are undo = reset HEAD~1 --mixed + # Stash changes, pull and pop stash again + stash-pull = !git stash && git pull && git stash pop + # Submodule helpers sm-update = submodule update --init --recursive --remote --merge