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
Simpliest solution would be to:
git commit -a -m "commit" && git push
git add is already contained in -a parameter of commit, but if you want you can connect them all:
git add
git add . && git commit -a -m "commit" && git push