In visual studio 2015, When I commit and sync
a change I get the following error
Unable to sync because the current branch does not track a remote branch. Publish the branch to sync changes with the remote.
But I have no idea why this is happening.
In order to push your changes to git you first need to create the branch on the remote server holding your repository. Assuming that you have set up a repository and connected visual studio to it, open Team Explorer, hit home (the "House" button), click "Sync" and then "Publish".
If you have not set up the repository yet, you first need to do that. Open Team Explorer, click "Manage connections" (the power cord plug icon) and follow the instructions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With