Visual Studio 2010/2012 Git Plugin

后端 未结 2 1727
余生分开走
余生分开走 2021-02-04 04:19

I am looking for suggestions for a git integration with VS 2010/2012 that allow developers use the basic operations (commit, push,pull,switch branches, tagging)

2条回答
  •  攒了一身酷
    2021-02-04 04:54

    There are several:

    1. Git Source Control Provider
    2. Visual Studio Tools for Git a.k.a. Microsoft Git Provider from Microsoft.
    3. Git Extensions

    1 and 2 gives you deep integration with the source control UI of Visual Studio, like padlock icons on files:

    File icons showing git status

    1 uses the ordinary Pending Changes tab, but adds some functions, like Switch Branch:

    Pending changes in Git Source Control Provider

    2 surely represents the future of Git integration in Visual Studio since Microsoft is behind it.

    Microsoft Git Provider changes tab

    Note that 2 requires Visual Studio 2012 (with update 2 even), so if VS2010 support is a requirement you cannot use it. 2 is built into Visual Studio 2013

    However, it sounds like you might prefer 3. Git Extensions is simpler and just gives you a simple toolbar with commit, pull, push, stash (not switch branch, though):

    Git Extensions toolbar

提交回复
热议问题