O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cloning a Git repository

In the previous recipe, Initializing a Git repository, we saw how to create a new local Git repository. This is a useful technique when starting new projects; however, most of the time we aren't starting new projects, but are instead working on existing projects.

In this recipe, we'll see how to clone a Git repository so that we can work on a project that is already stored in the source control.

Getting ready

You can use any of the Java download bundles of NetBeans (Java SE, Java EE, or the All bundle) to complete this recipe as they all have Git support built into NetBeans.

To complete this recipe, you will need to create a fork of the JarViewer repository on GitHub. A fork is essentially your own copy of a repository that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required