Should you ignore .obj, .mtl, ect... files in order to be able to track lines added and removed from places like GitHub?
When I commit with .obj files and pushed it added 13,000 lines of code to my stats. I feel like that is so unfair. Is there a way to upload model and keep lines off? If not how do most people and teams share these models?
I checked github's documentation, but couldn't find anything related to the subject.
Also, when I added to .gitignore it did not ignore the .obj files. So wierd.
I tried *.obj and obj as lines to ignore. Neither worked.
# Ignore .obj files #
*.obj
*.mtl
Still get this...
You can view image here:
Git can ignore those files if you remove them first from the index (not from your disk).
git rm --cache *.obj
You can recursively remove the content of a folder too, like build/
: see
Anything that can easily be regenerated shouldn't be included in the repo.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments