5

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.

enter image description here

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
jcam77
  • 173
  • 2
  • 4
  • 17
  • 1
    You'll need to configure the https/ssl endpoint for GitHub, not the ssh endpoint. Visual Studio doesn't support the SSH endpoint yet, even though LibGit2 supports it, due to license issues. – jessehouwing Feb 12 '14 at 18:23

1 Answers1

3

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.

GitHub & SSL

Or if you have commits waiting to be pushed in your local repository, you can overwrite the remote uri.

Community
  • 1
  • 1
jessehouwing
  • 106,458
  • 22
  • 256
  • 341