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
結果如下,成功