Cool application! Just wanted to give you a heads up, when you commit a .env to github, remove the file and then push those changes, people can still see the removed .env! Remember to add a .gitignore in the root and put any files or directories in there that you want git to ignore. Keep up the grind!
Thanks so much for telling me about this Kristian. As you suggested I changed the API key and ran through the steps using git filter-branch to remove the file from the past commit.
I thought I deleted it last night manually from the repo after realizing I hadn't added it to .gitignore but obviously committing a new change doesn't affect a previous commit.
Thanks again.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Cool application! Just wanted to give you a heads up, when you commit a .env to github, remove the file and then push those changes, people can still see the removed .env! Remember to add a .gitignore in the root and put any files or directories in there that you want git to ignore. Keep up the grind!
Thanks so much for telling me about this Kristian. As you suggested I changed the API key and ran through the steps using
git filter-branch
to remove the file from the past commit.I thought I deleted it last night manually from the repo after realizing I hadn't added it to .gitignore but obviously committing a new change doesn't affect a previous commit.
Thanks again.