简体   繁体   中英

How to push on GitHub from Visual Studio 2010?

I have installed GitExtensions and Git Source Control Provider Options. But after committing whenever I am trying to push something to the repository. Nothing is getting pushed.

What is happening? I am not well-versed with Git. Any help would be great.

Here's a screenshot: 在此处输入图片说明

It looks like GitExtensions doesn't work quite well with HTTPS authentication . This authentication problem makes the push fails, since the remote doesn't recognize you and thus rejects the push.

I haven't verified by myself, but with recent Git versions you can use the Windows Credential Store for Git . This will allow to authenticate against Github's remote during the push.

GitHub mentions it in the documentation .

OK, there's a simpler solution to let authentication work correctly with GitHub without using the Windows Credential Store.

You can use the GitExtensions' GitHub plugin, which use OAuth token by connecting to GitHub.

In GitExtensions, go to Plugin menu -> Github. It opens a browser window, which lets you authenticate and give authorization to GitExtension. After this no password prompting!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM