Adding Aliases for Bash



I noticed I was repeating the same set of actions over and over which means it's time to automate. Let's use an Alias.

It's pretty simple:

alias stashpull='git stash && git pull -r && git stash pop'

Now I just type stashpull and it fires off three commands quickly.