gitbash配置快捷指令

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

結果如下,成功

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章