Open Necktschnagge opened 2 years ago
@r0ost3r good to know
$ git update-index --skip-worktree src/secrets.h
Appears to be a better option than --assume-unchanged
@r0ost3r thanks for the investigation. I will have a look at it later. When I was looking for a solution I stopped as soon I found something that worked.
We will one day put the recommended solution into some README or setup script
See this
git update-index --assume-unchanged src/secrets.h
after you set your api key locally, Then it won't show up again to be committed. (At least I hope so.)