Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Wednesday, February 21, 2018

Git add, commit and push in single command

We can replace frequently used multiple git commands like add, commit and push in a single command.

Multiple step Git add, commit, push

git add .
git commit -m "message"
git push

Single step Git add, commit and push
git commit -am "message" && git push