简体   繁体   中英

VisualStudio 2012 github integration

I start to use VisualStudio 2012 and Github, unfortunatelly I do not know why I cannot commit changes. Picture shows the problem:

在此处输入图片说明

why I cannot commit&&push changes ? What should I do ?

EDIT With help console I can commit, but in VS I have following errors: 在此处输入图片说明

Judging by the picture, it looks as if you simply need to stage your changes (ie add them to the index) prior to trying to commit. To do this in Git Gui, you either click on the icons to the left of the files under "Unstaged Changes", or you select "Stage to commit" from the Commit menu, as per this tutorial:

http://matthew-brett.github.io/pydagogue/git_gui_windows.html

In case this is an issue of unfamiliarity with the way git itself works, you may want to read up on how git works with regard to its index/staging area - the book "Version Control with Git" (by Loeliger) is a good'n in this regard.

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