Git Daily Commit/Save

Feb 28, 2019

Assume you are done editing and ready to commit changes to remote.

Show changes done (deleted, modified and new files).

git status

Add all changes.

git add .

Commit all changes (locally)

git commit -m 'patch for bug #33'

NOTE: Run git log -1 to check last commit comment.

NOTE: Single Git Command for Add and Commit

Push commit to remote server.

git push origin master

NOTE: Refer Single Git Command (Alias) for Add, Commit and Push

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.