Trespo / WitherPoop

haha wither go poooooop
0 stars 0 forks source link

Moses pointers 5 - intelij extra crap #5

Closed mosemister closed 3 years ago

mosemister commented 3 years ago

When you create a project in intelij, the first thing you should do is add the following to the .gitignore file

/.idea/
/target/
*.imi

This will prevent git from getting your project files which can hold your personal user name, where the project is saved, etc.

But also it makes it a nightmare for anyone cloning your git project as the project files for intelij assumes that the project files found are the ones it created .... Which isnt the case.

Its also a nightmare for those who dont use intelij (such as Eclipse, netbeans, bluej, etc) as they dont use these files, but they may have converters to attempt to make it into a project assuming it once again came from the hosts pc.

Ive also put target in there, this is because your using maven, if your using gradle, then it would be /build/

mosemister commented 3 years ago

Not fixed