git add, commit and push commands in one?

前端 未结 30 1463
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 03:15

Is there any way to use these three commands in one?

git add .
git commit -a -m \"commit\" (do not need commit message either)
git push

Som

30条回答
  •  庸人自扰
    2020-12-02 04:10

    This Result - Try this: Simple script one command for git add, git commit and git push

    Open your CMD on Windows and paste this answer

    git commit -m "your message" . && git push origin master

    This example my picture screenshot : https://i.stack.imgur.com/2IZDe.jpg

提交回复
热议问题