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

Chapter 9. Version Control

In this chapter, we will cover the following recipes:

  • Initializing a Git repository
  • Cloning a Git repository
  • Checking out from a Subversion repository
  • Getting the history of a file
  • Committing and pushing code changes
  • Creating a Diff patch
  • Branching a repository

Introduction

With all but the smallest projects, good source code management is essential. Source code management allows multiple developers to work together on projects whether they are working on the same piece of functionality or completely disparate parts of the system.

Probably, the most common source code control system at present is Git. Within this chapter, we'll see how we can manage Git repositories from within NetBeans allowing us to perform all of the common ...

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