If you have already installed remote tracking branches (that git cloneis, it does this automatically) and want to use git pullto capture and merge the latest commits for the current branch from a remote repository, I believe that the following is enough:
git pull
To achieve the same effect with refspec enabled (too long):
// Pulls the remote 'master' branch down to the local 'master' branch
git pull origin master:refs/remotes/origin/master
, URL- refspec.
, refspec , Pro Git book. , !