Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Commit all modified files to Github in Netbeans

In our project we are using Netbeans. When I try to commit the files I have modified in Netbeans it only brings up the current file and I have to do a commit for every file I have modified. I have seen where my co-worker can hit "Commit" and it will bring up every file he has modified, but neither of us know how to change the settings to allow multiple file commits.

I've tried looking online for options, but haven't found an answer. Does anyone have any suggestions?

Thanks!

like image 301
bstrong Avatar asked Jul 25 '13 18:07

bstrong


People also ask

How do you commit changes in NetBeans?

In the Projects window, right-click the file you want to commit. [start=2] . In the context menu, choose Git > Commit .

How do I commit modified files?

To add and commit files to a Git repository Enter git status to see the changes to be committed. Enter git commit -m '<commit_message>' at the command line to commit new files/changes to the local repository. For the <commit_message>, you can enter anything that describes the changes you are committing.


2 Answers

Okay, I figured out the answer. Hopefully it will help another lost soul in the future.

Right click on the project name -> Git -> Commit.

like image 79
bstrong Avatar answered Oct 19 '22 19:10

bstrong


You can press on Team and then Commit. Then follow instructions etc... I did this method for a few weeks, then after attempt to get this project on other computer, I realised that my project other files were old untouched.

But if you follow this:

Okay, I figured out the answer. Hopefully it will help another lost soul in the future.

Right click on the project name -> Git -> Commit.

It works with all files!

like image 29
Erikas Avatar answered Oct 19 '22 19:10

Erikas