r/learnpython • u/[deleted] • Jun 09 '20
Github as a beginner
As a beginner learning python, is it too early to create and start coding simple projects on Github. and how do I transfer these codes (simple calculators) to a website I build subsequently?
401
Upvotes
2
u/kramrm Jun 09 '20
As others have said, it’s never too early. GitHub takes the basic functionality of Git versioning and adds a lot of additional features on top. As for your question of getting it to your web site, here is my simplified workflow for a chat bot I maintain: All development and testing is done on my workstation. Once I have tested my changes, I
committhe code to snapshot the version and thenpushup a copy to GitHub. I’ll then go to the server that hosts my bot and use git topulldown the new version.Not only can Git handle versioning, but you can have multiple locations with a
cloneof the repository so you can easily keep them in sync with the push/pull commands.