Using Full Remote Mode with Version Control Systems
See Also
The IDE offers three modes of remote development described in
C/C++ Remote Development Modes.
When you use full remote development, the source files reside on the
remote host. The IDE enables you to use Git, Mercurial, and Subversion
version control systems (VCS)
in full remote mode on the remote source files.
After you configure the IDE for your remote projects, you can configure the VCS settings
for the remote projects.
To specify VCS settings for full remote projects:
-
In the IDE menu bar, choose Tools > Options (NetBeans > Preferences
on OS X) to display the Options dialog.
- Select the Team category and then click the Versioning tab.
-
In the Versioning Systems list, select the remote VCS you want to work with.
- Remote Git: Specify the options for using Git on the remote source files. They are
the same as the Git options for local projects. For more information see the
NetBeans document
How to Set Git Global Options which you can view in a web browser.
- Remote Mercurial: Select the build host, and specify the Mercurial
username to use with remote projects you work with on the host.
Type or browse to the Mercurial executable file path on the build host. You should
not include the executable itself (for example the hg command) in the path.
For more information see the NetBeans document
Versioning
Applications with Mercurial which you can view in a web browser.
- Remote Subversion: Select the build host and
type or browse to the Subversion executable file path on the build host. You should
not include the executable itself (for example the svn command) in the path.
For more information see the NetBeans document
Versioning
Applications with Subversion which you can view in a web browser.
- Click OK.
-
Work with your projects with the VCS just the same as local projects.
To set colors used in the IDE for VCS information highlighting:
-
In the IDE menu bar, choose Tools > Options (NetBeans > Preferences
on OS X) to display the Options dialog.
- Select the Fonts & Colors category and then click the Versioning tab.
- In the Versioning Systems list, select the remote VCS you want to work with.
- Select the highlighting category, choose colors as you like, then click OK.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.