作者:zhanhailiang 日期:2014-09-30
1. 下载TortoiseSVN。将其安装在默认位置;
2. 使用Sublime包管理器下载安装TortoiseSVN Plugin,安装后注意阅读Package Control Messages,须要注意下面事项:
If TortoiseSVN is not installed at `C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe`, specify the correct path by setting property “tortoiseproc_path” in your TortoiseSVN.sublime-settings file.
If your TortoiseProc.exe path is not the default, please modify the path by selecting “Preferences→Package Settings→TortoiseSVN→Settings - User” in the menu.
The default setting is:
{ // Auto close update dialog when no errors, conflicts and merges "autoCloseUpdateDialog": false, "tortoiseproc_path": "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" }
3. 快捷键说明:
-
[alt+c] : commit current file.
-
[alt+u] : update current file.
-
[alt+r] : revert current file.
相同也能够通过側边栏Folders→Folder|file右键菜单来进行SVN操作(You can also call TortoiseSVN commands when right-clicking folders or files in the side bar.):