Skip to content

Commit

Permalink
Update remote-branches.asc
Browse files Browse the repository at this point in the history
  • Loading branch information
uerdogan authored Feb 5, 2018
1 parent d749392 commit e4ecea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/03-git-branching/sections/remote-branches.asc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ This gives you a local branch that you can work on that starts where `origin/ser
(((branches, tracking)))(((branches, upstream)))
Checking out a local branch from a remote-tracking branch automatically creates what is called a ``tracking branch'' (and the branch it tracks is called an ``upstream branch'').
Tracking branches are local branches that have a direct relationship to a remote branch.
If you're on a tracking branch and type `git pull`, Git automatically knows which server to fetch from and branch to merge into.
If you're on a tracking branch and type `git pull`, Git automatically knows which server to fetch from and which branch to merge in.

When you clone a repository, it generally automatically creates a `master` branch that tracks `origin/master`.
However, you can set up other tracking branches if you wish -- ones that track branches on other remotes, or don't track the `master` branch.
Expand Down

0 comments on commit e4ecea6

Please sign in to comment.