I am on Git version 2.6.3, and get this message when just running
git pull
\"There is no tracking information for the current br
-u
is just a shortcut for using --set-upstream
. This flag will cause your local branch to track your remote branch from remote upstream. You only need to do this action once and ideally at the begining by using git push -u origin
.
This means that when you use git pull
, git fetch
and git push
it should assume that your local branch and the remote branching that is tracking will sync.
If you want to know read more go here: An Asymmetry Between Git Pull and Git Push