I noticed that I often do the same sequence of git commands.
run
notepad ~/.gitconfig
and add
[alias]
spa = !git stash && git pull && git stash apply
Then execute
git spa
I've created .bashrc with command
notepad ~/.bashrc
and added the following
StashPullApply() {
git stash
git pull
git stash apply
}
Now I can use just the name in git bash
StashPullApply