Most used Git commands

Working tree status git status

Stage only tracked files git add -u

Unstage git reset

Review changes between HEAD and working tree before each commit git diff.

git commit

git push origin master

Deploy git pull origin master

Tags: , Categories: Blog, Programming

Leave a Reply

Your email address will not be published. Required fields are marked *