Recommended files to ignore in version control (gitIgnore)

Topics for the Eclipse Environment
Post Reply
tk1390
Posts: 23
Joined: Thu Apr 13, 2017 10:15 am

Recommended files to ignore in version control (gitIgnore)

Post by tk1390 » Fri Jul 28, 2017 2:10 pm

Hi,

I'm currently developing some firmware for the MOD5234 using the NBEclipse environment. I'm using Git as my main source/version control.

The repository currently tracks all files since at the time of creation I was not sure what files were valid to be ignored. But this has become pretty cumbersome due to the amount of .metadata files along with occasionally bricking my environment setup once in a while after merging various branches.

I am wondering if the following folders/files can safely be left untracked:
/.metadata
/myProjectName/Release
/myProjectName/Debug

Does anyone have any recommendations? Thanks.

sulliwk06
Posts: 91
Joined: Tue Sep 17, 2013 7:14 am

Re: Recommended files to ignore in version control (gitIgnor

Post by sulliwk06 » Mon Jul 31, 2017 5:09 am

I ignore the Release and Debug folders in my repositories since the files in there get generated by the build. I'm not sure about the metadata folder since I don't use NBEclipse anymore, but my guess would be that it's okay to leave it untracked.

User avatar
TomNB
Posts: 230
Joined: Tue May 10, 2016 8:22 am

Re: Recommended files to ignore in version control (gitIgnor

Post by TomNB » Mon Jul 31, 2017 10:18 am

You should ignore the metadata, and any other files that start with a '.', such as .project, .cproject

tk1390
Posts: 23
Joined: Thu Apr 13, 2017 10:15 am

Re: Recommended files to ignore in version control (gitIgnor

Post by tk1390 » Mon Jul 31, 2017 10:20 am

Great! Thanks for the help guys

EddieSVab
Posts: 6
Joined: Wed Jun 05, 2019 9:22 am

Recommended files to ignore in version control gitIgnore

Post by EddieSVab » Sun Jun 09, 2019 8:40 pm

What is the recommended SVN client to use? I have had good luck with SVNKit but have not tried the others.

Post Reply