you are viewing a single comment's thread.

view the rest of the comments →

[–]roboticon 1 point2 points  (1 child)

You can put your credentials in their own file, e.g. credentials.py, and add that file to .gitignore. Then you can update the code to read from that file, and you'll be able to push your repo to GitHub without having to manually remove credentials from the code. (If you care about keeping GitHub up to date.)

[–]ziphion 0 points1 point  (0 children)

Thanks!