* git branch -a
List down all the branch in the local and remote
* git branch -r
list down all the branch in remote
* git fetch --all
Fetches all the remote repos to local
* git checkout -b <branch name>
Checkout the branch name with current HEAD to the master.
Always do git fetch <remote> <branch> and git checkout -b <branch name> ==>
** git fetch + git merge (Safe to do instead git pull --> this is sometimes aggresive )==> git pull
No comments:
Post a Comment