richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

*.ogg is on the .gitignore list, why? #632

Closed janderkkotlarski closed 5 years ago

janderkkotlarski commented 5 years ago

I think with that on the gitignore file, adding ogg files and thus the tracks for the game is impossible for me. Why is it on there? Is it ok to remove the line, because it makes adding music file impossible?

richelbilderbeek commented 5 years ago

The reason is as follows: the .ogg files reside in the resources folder and are re-created locally when starting Nature Zen. If Nature Zen is run from its own folder (djog_unos_2018) it will re-create the .oggs there. These duplicated .oggs should be ignored.

The option I always use:

git add --force my.ogg

Does that help?

janderkkotlarski commented 5 years ago

Ok, I understand now, I didn't know that you could force an add through the gitignore. Thanks.