Git Commands :
To know the status of the GIT
– git status
To know the difference of the GIT
– git diff <filename>
To add file to commit
– git add <filename>
To create local shelveset
– git commit – m “message”
To push on git server
– git push origin <branchname>
To check the branch
git branch
To change the branch
git checkout <branchName1>
To merge branchName1 into branchName2
git merge <branchName2>
To check system specific change : [ shelveset ]
git stash
abc.txt —
abc.txt — d
git stash
git pull origin <branch-name>
git stash apply
git reset HEAD
git status
git diff abc.txt