I have two files: statsabove.ejs
and statsbelow.ejs
which I want to be included in my git repository but I don't want to them to be updated (so that they stay empty when I upload them to GitHub even if my local versions have data inside).
How do I do that?
I did git rm --cached
and also added them to .gitignore
but what happened is that they disappeared from the repo completely. This is not what I want.
I want them to always stay inside the repository and to always stay the same (empty, that is), even if my local versions have data in them.