The -u parameter performs the following actions: For each branch that has been updated or successfully pressed, add an up link (tracking), which is used without arguments git-pull and other commands.
So, after pushing your local branch with the -u option, this local branch will be automatically associated with the remote branch, and you can use git pull without any arguments.
Shunya Sep 18 '13 at 9:13 2013-09-18 09:13
source share