I'm trying to pull the latest changes for a branch in Visual Studio Team Explorer for Git but the Pull url is disabled and the "Incoming Commits" section displays a message hat says "Current branch does not have an upstream branch configured. There are no incoming commits for non-tracking branches." Any idea what the problem might be or how to fix?
相关问题
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- Visual Studio 2019 - error MSB8020: The build tool
- 'System.Threading.ThreadAbortException' in
- VS2017 RC - The following error occurred when tryi
相关文章
- 请教Git如何克隆本地库?
- How to show location of errors, references to memb
- How to track MongoDB requests from a console appli
- Visual Studio Hangs on Loading UI Library
- How to use Mercurial from Visual Studio 2010?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
This can be fixed using git commands, I am not sure about the tool you are using with with visual
You can go to the your working branch and find out all the branch names using following command
This will give you list of branches you have including remote branches and current branch, usually current branch will be in green color and red color is used to list the remote branches which you need to set as upstream during push. You can set upstream using following command while you do push
nameofBranch: Should be one your current working branch points to and the same branch you have in remote ( set as origin)
I use following command to fix the issue: git branch --set-upstream-to=origin/master master