

After you added a proper comments and check all are ready, just click the ‘commit’ button, it will do the rest of the work and log will be shown on output window. So, basically you will be able to get rid of ‘git add’ type commands. You can check which files are being committed and on which state(like ‘added’/’modified’/’deleted’ etc). This plugin makes commuting files easy! Just after you have completed all your addition/changes of files, you can just right-click the project, select “git->commit” option. If you right-click on your project and go to git option, you should see the available options you can use as like the image below: Operations We Can Perform With GIT Plugin For Netbeans:Īlmost all available git operations can be performed through this plugin. Now, if you just click ‘finish’, it will start the cloning process and show the logs on Netbeans output window.
#Netbeans tutorial Pc#
Then, on next screen, you will need to specify the place on your local PC where the clone operation will be held. To clone a remote repository, you should see a pop up window as follows where you will need to enter corresponding information:Īfter you click ‘Next’, it will connect to the remote repository and will show the branches on the repository, from which, you can select one or more branches.

If you are initializing new git repository, you can do so on an existing project directory or on an empty new directory. Please got to ‘Team’->’Git’ menu option and you should see these options there. After installation, it will be shown on ‘installed’ tab as like the following picture:Īfter the plugin in being installed, its time to create a new repository or clone a remote repository. Click on he available plugins, select the ‘git’ plugin from the list and install. You should be able to see few tabs like ‘available plugins’, ‘installed plugins’, ‘Downloaded’ and so on. Go To ‘Tools’->’Plugins’ menu on Netbeans.

As a short course, you can refer to my important git commands tutorial. As this tutorial assumes you already know git more or less and now want to use the git plugin for Netbeans. If you are very new with git, you should first get basic knowledge on GIT first. I am using Netbeans IDE 7.3(beta) while, writing this tutorial. So, please make sure your ide is updated. Also, I will like to mention that, git support for Netbeans IDE started since version 7.x. On this tutorial, I will try to describe, how easily we can use git operations from within the IDE with using git plugin for Netbeans.
