MacOSX SVN
In HBuilderX, you have to install the SVN plug-in before you can use SVN.
The SVN plug-in calls the external SVN command line tool
, you need to install SVN command tool.
SVN Command line tool
Open Operating System Terminal
and enter the following command. If brew is not installed, please install it first Homebrew
brew install subversion
# check svn installed or not
which svn
Install SVN Plugin
HBuilderX Top menu, [Tool]-> [plug-in installation]. Open the plug-in installation window, Find SVN, Click [Install].
SVN menu
In the project manager, select the project and right-click the menu to see the SVN related operation menu.
Commit
- On the file, directory, or project to be submitted, right-click the menu and click [SVN Commit]
- In the SVN window, enter the Message, and click the [SVN Commit] button.
View Log
Select the project, right-click the menu, [SVN]->[View Log]
Shortcut Configuration
- Top menu, [Tool]—>[Custom Keybindings]
- All SVN command configurations can be seen at the bottom of the left side of the document
//svn update
//{"key":"","command":"ExternalCommand:SVN_UPDATE"},
//svn add file
//{"key":"","command":"ExternalCommand:SVN_ADD"},
//svn delte file
//{"key":"","command":"ExternalCommand:SVN_REMOVE"},
//svn revert
//{"key":"","command":"ExternalCommand:SVN_REVERT"}
Select the required command and copy it to the right, configure your own shortcut keys
Example:
[
{"key":"command+alt+u","command":"ExternalCommand:SVN_UPDATE"}
]