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

Committing and pushing code changes

In the previous recipe, Getting the history of a file, we made a change to a file under source control so that we could see how NetBeans could show us the differences that we'd made to our local code.

In this recipe, we'll see how we can commit these changes back to source control on our local Git repository and then how we can push the changes back to the remote repository.

Getting ready

To complete this recipe, you will need to have completed the previous recipe, Getting the history of a file, so that there are local changes to the repository. It's possible to complete this recipe by making your own changes to the local code; however, the descriptions in this recipe may not then match exactly with your code base. ...

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