I recently added github capabilities to Visual Studio. I started a new repo and hooked it up to VS. I have ssh authentication. I successfully did a first commit with the initial project.
Then, from visual studio, I branched the project. I made some changes and committed them.
For some reason, I cannot push them back to git. The push and pull buttons on VS are grayed out. According to the tutorial I should now be able to just push push and it will push (that's a lot of pushes... ha ha)
I've attached a screen clipping.
Anyone know what went wrong? I can log into github and see the repo, but the new branch isn't there and no changes are being registered.
Instead of using the SSH endpoint, configure your remote to use the https/ssl endpoint instead. Visual Studio, as of yet, doesn't support SSH endpoints due to license restrictions. You can do this by cloning the repository from that endpoint.
Or if you have commits waiting to be pushed in your local repository, you can overwrite the remote uri.
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