How can I combine these git commands?

后端 未结 4 874
孤街浪徒
孤街浪徒 2021-02-09 22:43

I do the following string of commands for git and my fingers are getting tired of typing them. :)

git add .
git commit -m \'Some message\'
git push
cap deploy
         


        
4条回答
  •  长发绾君心
    2021-02-09 23:27

    I just use semicolons to combined into one command line:

    git add .; git commit -m "Some message"; git push; cap deploy
    

提交回复
热议问题