I want to create an alias that is composed of 2 commands. Could not find anything online as most questions are about an alias that equals to 2 commands, eg:
alias command="command1 && command2"
What I want:
alias git push="git add . && git commit -m 'auto ups' && git push"
Why using this instead of naming my alias gp (or whatever 1 worded alias)
- I want to keep the same git push experience
- Want to learn about bash
Is that possible?