So I'm a noob and I recently pushed an Ionic project to GitHub, which resulted in me getting a warning about there being an API key from Google. I tried adding the file containing the key to .gitignore but it somehow still made its way to GitHub. I don't understand how this stuff works. Should I just write the file's name (like firebase.config.ts) in .gitignore, or, I should specify the relative path of the file, for example: src/app/firebase.config.ts ?
Submitted June 21, 2018 at 02:23PM by ncubez
No comments:
Post a Comment