I didn’t know how to tell git to except a file from the ignore. Like your code creates a bunch of .txt files and you don’t want to commit them and clutter your repo. But you need a certain .txt file to be included into that repo.
Add a .gitignore file that looks like this:
Important is to call the
!LICENSE.txt after the
*.txt call. Or the .gitignore won’t recognize the excepted file.
- fabiantheblind posted this