vim ~/.bash_profile
alias add='git add *'
alias m='git commit -m "add"'
alias push='git push'
alias gitpush='add;m;push'
source ~/.bash_profile
验证一下
gitpush
结果如下,成功
vim ~/.bash_profile
alias add='git add *'
alias m='git commit -m "add"'
alias push='git push'
alias gitpush='add;m;push'
source ~/.bash_profile
验证一下
gitpush
结果如下,成功