Most Useful Git commands – User friendly Tech help
n
I have decided to stick with love. Hate is too great a burden to bear.
n
n
- n
- List all the branches : git branch
- Pull the recent changes: git pull
- Create a feature branch : git checkout -b
- Delete branch local: git branch -d or git branch -D
- Delete branch from remote : git push origin –delete
- See all remote branches: git branch -v -a
- Get conflicted list of files: git diff –name-only –diff-filter=U
- git fetch origin (checkout new remote branch)n
- n
- git checkout -t origin/remote-branch
n
n
- List all remote branches: git branch -r ()
n
n
n
n
n
n
n
n
n