user997112
user997112

Reputation: 30615

Which Netbeans 8.2 project files should be committed to version control for C++ project?

Should this Netbeans (C++) project file:

nbproject/configurations.xml

be stored within version control/which ones should/shouldn't?

I am currently the only person using Netbeans but I worry what would happen if a second person was modifying that file (via their IDE), submitting and then me pulling/using that?

I have Google'd but answers appear to be out-of-date now.

Netbeans version is 8.2

Upvotes: 0

Views: 83

Answers (1)

sweenish
sweenish

Reputation: 5202

I have had good experiences using whatever .gitignore entries are stored on Github. This is not some random repo, but one of GitHub's own that accepts community contributions. Following the link will show 9 contributors to this specific .gitignore for NetBeans and that it was last updated in Dec. 2018.

It appears that the configuration file you're asking about would and likely should be placed under version control.

Upvotes: 1

Related Questions