【PHP分享】Sublime Text 2集成TortoiseSVN插件

  作者: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. 快捷键说明:

  1. [alt+c] : commit current file.
  2. [alt+u] : update current file.
  3. [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.):


郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。