TortoiseGit - A Git client for Windows

2015-12-07 09:43
2018-07-25 01:56

2018-07-25 开始尝试在 B250 上直接使用 PortableGit 而不再安装 TortoiseGit

Official Website


TortoiseGit is a Windows Shell Interface to Git and based on TortoiseSVN. It's open source and can fully be build with freely available software.

Since it's not an integration for a specific IDE like Visual Studio, Eclipse or others, you can use it with whatever development tools you like, and with any type of file. Main interaction with TortoiseGit will be using the context menu of the Windows explorer.

TortoiseGit supports you by regular tasks, such as committing, showing logs, diffing two versions, creating branches and tags, creating patches and so on (see our Screenshots or documentation).

It is developed under the GPL. Which means it is completely free for anyone to use, including in a commercial environment, without any restriction. The source code is also freely available, so you can even develop your own version if you wish to.



测试记录 (2018-05-18)

  • 安装 TortoiseGit 前必须安装 Git,否则无法完成配置、无法使用。
  • 如使用 PortableGit,则安装 TortoiseGit 后、配置时,必须手动输入 PortableGit 的 git.exe 的路径。Note: 正常安装完毕后 git.exe 的路径是 D:\Git\cmd\git.exe
  • PortableGit 与 TortoiseGit 可共用。


TortoiseGit 只是对 Git 命令行的封装,因此它依赖于 Git Core,所以安装 TortoiseGit 前必须安装好 Git (以前是 "msysgit",现在是 "Git for Windows")。

TortoiseGit (as of 2.2) requires a command-line git.exe.

先决条件 - 安装 "Git for Windows"

A command line git.exe is required by TortoiseGit
* Git for Windows 2.0+ is recommended
* Installation of Git for Windows can be done with preselected options, however, no need to install the "Windows explorer integration". If you know about CRLF and LF line endings and you have editors coping with that, you should select "Checkout as-is, commit as-is" in order to prevent automatic translations
-- What are the system prerequisites of TortoiseGit?

How to install TortoiseGit?


  1. 先决条件 - 安装 "Git for Windows"
  2. 安装 TortoiseGit
  3. 安装 语言包

安装记录 - TortoiseGit- (2018-07-23)

  1. PortableGit-2.17.0-64-bit.7z.exe "7-Zip - 提取到" D:/Portable

cmd.exe 中执行 gitD:/Portable/PortableGit/cmd/git.exe,观察反馈,检查 PortableGit 是否安装成功。


  • 在 "Choose SSH Client" 窗口,有以下两个选项: 1. "TortoiseGitPlink, based on PuTTY; optimized for TortoiseGit and integrates better with Windows."、2. "OpenSSH, Git default SSH Clien"。该窗口有提示 "This setting can be changed in TortoiseGit settings on the 'Network' page lateron"。此次安装时选择了第一项。
  • 在 "Custom Setup" 窗口,选择安装全部功能。
  • 不勾选 "Show Changelog"。勾选 "Run first start wizard"。

在 "First Start Wizard / 首次启动向导" 中:

  • 起初 "language" 下拉菜单中仅 "English" 一个选项。不关闭该窗口,切换至资源浏览器安装 TortoiseGit-LanguagePack-,不勾选 "Configure TortoiseGit to use this language"。之后再切换回该窗口,单击 "Refresh" 按钮,此时 "language" 下拉菜单中增加了 "中文" 选项,选择之。
  • 在 "配置 git.exe" 窗口,"git.exe 路径" 填写 D:\Portable\PortableGit\cmd、"额外路径" 留空。注意: 保存后会变成 D:\Portable\PortableGit\bin。如果此前未安装 Git 则

弹窗警告 未找到 git.exe... 导致 "下一步" 受阻。

  • 在 "配置用户信息" 窗口,"名称" 填写 a、"Email" 填写、不勾选 "现在不存储这些设置"。
  • 在 "身份验证和凭据存储" 窗口,保持默认的 TortoiseGitPlinkmanager、不勾选 "现在不存储这些设置"。
  • 单击 "完成" 按钮,即完成安装。

update / upgrade

Just download the setup package for your system and install it. The old version will be replaced automatically. If possible please use the automatic updater of TortoiseGit (in this case the binaries are cryptographically verified). You can trigger an update check by going to the about dialog of TortoiseGit and clicking on "Check for update".
-- How to update/upgrade TortoiseGit?

配置库的 账户与密码 的一种方法



  1. TortoiseGit 安装与配置
  2. Git 与 TortoiseGit 基本操作