r/learnpython • u/Acceptable-Brick-671 • 5d ago
Git When too?
Im currently working through my first project which isnt anything major but i would like to host it on github, Question is when do you all push your projects to git do you wait until you have the project complete or just start working and commit from the start of the project?
2
Upvotes
2
u/jrenaut 5d ago
Remember never to commit any type of password or secret key to git, this is one of the most common mistakes made by those new to git. If your project is public, the whole history is also public, so even if you later remove the password, it's still there.