Git local master branch not tracking remote master

  • Thread starter Thread starter s-orton9999
  • Start date Start date
S

s-orton9999

Guest
Hello,

I'm using VS 2019 v16.2.0.

I set up a git repository on GitHub and connected it to my version of VS at work. Everything's working great there. However, I cloned my repository to my computer at home and was able to get the repository. I think I made a branch and pushed some changes to that branch from home. I then incorporated those changes to my VS at work and made more changes on a new branch at work and pushed those changes to the master branch at work.

OK. So work VS is fine. Now, I Sync'ed my local repo at home and got the new branch that was created at work, but did not get the master sync'ed. When I have master checked out and go to the Sync section, it is complaining that I don't have master set to a remote branch. It says, "Current branch does not track a remote branch". And there isn't a little green arrow on the icon next to my local master branch in the Branches section. All my other branches are tracking a remote branch except my local master branch.

I'm not sure how I got to this state. I tried searching for this problem with no luck. How can I set my local master to track the remote master branch?

I'd appreciate any info you can give about this...steve--

Continue reading...
 
Back
Top