Local associated git branch --set-upstream git remote branch associated with the remote local branch --set-upstream branch

git branch --set-upstream branch associated with the remote local

 

Recent git pull when repeatedly met the following conditions:

There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=origin/<branch> release

In fact, the message output of said quite understand.

After using git to create a new branch in the local, remote branch association needs to be done. If there is no association, git will prompt you to add the associated display in the following operations.

Association aimed at the implementation of git pull, you do not need to specify when the corresponding remote branch git push operation, as long as you do not show specified, git pull of time, it will prompt you.

The solution is to follow the prompts to add a chant:

git branch --set-upstream-to=origin/remote_branch  your_branch

Which, origin / remote_branch your local branch corresponding remote branch; your_branch is your current local branch.

Recent git pull when repeatedly met the following conditions:

There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=origin/<branch> release

In fact, the message output of said quite understand.

After using git to create a new branch in the local, remote branch association needs to be done. If there is no association, git will prompt you to add the associated display in the following operations.

Association aimed at the implementation of git pull, you do not need to specify when the corresponding remote branch git push operation, as long as you do not show specified, git pull of time, it will prompt you.

The solution is to follow the prompts to add a chant:

git branch --set-upstream-to=origin/remote_branch  your_branch

Which, origin / remote_branch your local branch corresponding remote branch; your_branch is your current local branch.

Guess you like

Origin www.cnblogs.com/lipengsheng-javaweb/p/11440012.html