/git-tools

This extension provides a git changes tool window, a graphical git history viewer and menus to launch Git Bash, Git Extenstions and TortoiseGit.

Primary LanguageC#MIT LicenseMIT

Git Tools and Git Tools 2019

Introduction

Git Tools is a Visual Studio extension that integration a few more git tools to Visual Studio 2013/2015/2017, including git changes window, graphical git history viewer and menus to launch Git Bash, Git Extensions and TortoiseGit.

Git Tools 2019 supports the new Visual Studio 2019 extension architecture. It is compiled from the VS2019 branch.

Please donate or support the project on Patreon. 👍❤️🙏

Donate

History

Git Tools and Git Tools 2019 are the successors of Git Source Control Provider.

Git Source Control Provider was the Visual Studio extension for Visual Studio 2008/2010. It integrates Git tools to Visual Studio as a source control provider since Visual Studio 2008 (Github Project) (InfoQ News). Starting in Visual Studio 2013, Microsoft has built the Microsoft Git provider into Visual Studio, but Visual Studio remains allowing only one active source control provider at a time. Git Tools is modified from the Git Source Control Provider to become a standalone extension. It is compatible with Microsoft Git and can run side by side with Microsoft Git.

Visual Studio 2019 has a new asynchronous extension architecture. Git Tools 2019 is modified from Git Tools to adopt the new architecture. It is compiled from the VS2019 branch.

Screenshot of Visual Studio 2017

main-menu-2017

Screenshot of Visual Studio 2019

main-menu-2019

For more information, please visit http://yysun.github.io/git-tools

How to Use

  • Install Git for Windows, Git Extensions (optional) or TortoiseGit (optional).
  • Run Visual Studio.
  • Go to Tools | Extensions, and Updates..., search the online gallery for Git Tools and install.
  • Select Top Menu 'Git Tools' or add 'Git Tools' toolbar to the main window.

Compile Source Code

  • Get source code: git clone https://github.com/yysun/git-tools.git
  • Open the solution and compile it in Visual Studio 2017
  • Or checkout branch VS2019 and open the solution in Visual Studio 2019

Pull requests are welcomed

Change Logs

5.0.0

  • Support Visual Studio 2022

3.0.0

  • Support Visual Studio 2019

2.0.0

  • Added advanced mode: displays un-staged changes and staged changes as two lists
  • Added advanced mode: allows stage/un-stage/reset by selecting line(s)
  • Improved Git Console autocomplete
  • Support git commit.template settings

1.6.0

  • Upgrade solution for VS 2017 RC, support VS 2017 RC

1.5.0

  • Performance enhancement: Use the background thread to refresh git changes
  • Performance enhancement: Use background thread to stage multiple files
  • Performance enhancement: Not to refresh if the changed files are ignored by git
  • Copy Dragon.exe to the Documents folder instead of the temp folder
  • Support VS community and Enterprise Editions
  • Bug fixes

1.4

  • Add git console

1.3

  • Add compare menu in changed file list to launch visual studio diff viewer
  • Add more context menu to git history viewer, e.g. init, stash, cherry pick, rebase, merge and etc.
  • Re-work on the refresh logic

1.0