godotengine / tps-demo

Godot Third Person Shooter with high quality assets and lighting
Other
1.01k stars 180 forks source link

Ignore files with .import extension #97

Closed gamedevshirious closed 3 years ago

gamedevshirious commented 3 years ago

adding *.import to .gitignore

hpvb commented 3 years ago

This is not correct. The .import directory should be ignored but <file>.import contain important settings for reconstructing the project. You should never .gitignore *.import it will break your projects.

gamedevshirious commented 3 years ago

This is not correct. The .import directory should be ignored but <file>.import contain important settings for reconstructing the project. You should never .gitignore *.import it will break your projects.

Thanks for that info. I was not aware of that, I'll have that change in my .gitignore too :)

hpvb commented 3 years ago

No worries! I'm glad you caught it in time! :D

Calinou commented 3 years ago

Note that in 4.0, the .import folder has been renamed to .godot to avoid confusion. For 4.0 projects, you should have .godot/ in your .gitignore file. (Don't ignore project.godot!)