1. Remote Branch
The branch which exists in the remote repository. This will be
updated whenever you do git push.
2. Local Branch
The branch which exists in your local repository. This is where
you make code changes. This branch will be updated whenever you do git commit,
git merge and git pull.
3. Remote Tracking Branch
The copy of remote branch, exists in the local repository. The
intermediate branch between your local branch and the remote branch. This branch
will be updated, whenever you do git fetch, git pull and git push.
No comments:
Post a Comment