GIT priority in Netbeans mixed GIT / SVN project?

Any idea how you can tell Netbeans I want GIT to be a code picker?

He currently insists on using SVN, which I use as an external repo project.

Thanks.

+4
source share
3 answers

(workaround, not actual solution)

The easiest way is to clone the git repository by pointing your NetBeans instance to this set of files (cloned git repo).

If you want to return to the SVN / Git repo, in a command line session, return to this first mixed repo, pull git from the second repo (to revert all changes) and go to NetBeans, configure the first mixed repo to read and work mainly with SVN.

+1
source

I had the same problem. I have .svn and .git in a single NetBeans project. In such cases, NetBeans always uses the SVN repository as the primary (and only) one.

My solution was to simply disable SVN support in NetBeans ( Tools > Plugins > Installed > Subversion > Deactivate ). That way I can use the console to manage SVN and have a Git repository in NetBeans. Also, SVN support can be quickly enabled if required.

This may not be the most elegant solution, but it works :)

+1
source

I also had to use the Show Details checkbox (received this from another message, after that gave me this method!)

Plug-ins, and on the "Installed" tab, check the "Show details" checkbox, select Subversion and click "Deactivate"

0
source

All Articles