开发者

Working with Git in Visual Studio 2010 beta 2

开发者 https://www.devze.com 2022-12-14 20:34 出处:网络
GitExtensions doesn\'t yet support 2010. What do I in the meantime? I wan开发者_C百科t something that handles moving/renaming files from within the IDE, similar to Ankh for SVN.Use Git Source Control

GitExtensions doesn't yet support 2010. What do I in the meantime?

I wan开发者_C百科t something that handles moving/renaming files from within the IDE, similar to Ankh for SVN.


Use Git Source Control Provider, an extension that plugs into Visual Studio.

Its 100% compatible with Visual Studio 2010, and supports moving/renaming files from both the IDE, and from Windows Explorer (it automatically detects any moves/renames).

Instructions to get going:

  1. Download from Git Source Control Provider and install.
  2. In Visual Studio, "Tools..Options..Source Control..Plug In Selection" then Select "Git Source Control Provider".
  3. Add a few files into GIT source control.
  4. Now, right click on any file in your solution, and select "Git..Pending Changes".
    • If you move/rename the file from within Visual Studio, you'll see the move pop up in the "GIT Pending Changes Window".
    • If you move/rename the file from within Windows Explorer, you'll see the move pop up in the "GIT Pending Changes Window".

To check in, in the "GIT Pending Changes Window", select "Commit" to commit the changes.

Right click on any file, and select


I think in the mean time you should use the standalone GitExtension application to manage the repository.


If you need a gui use TortoiseGit

If you can use the command line Msysgit is the most mature standalone git client for windows.

Cygwin also provides stable git command line support for windows.

0

精彩评论

暂无评论...
验证码 换一张
取 消