Hi I am now learning Github and have been trying to apply Github to my personal projects as well. It would be nice for you to create a short video on some github best practices or general process of how github and git is used in the real world
I have one specific question. When I code, sometimes I put print statements in my code to test my features and is everything is ok. Sometimes, I just commit and push to github so some of my commits in github have the print statements. However I do make sure that the final commit that I make to my project is free of these testing statements and is as crisp as I can. Is that good enough? Otherwise, what do you suggest that I can do moving forward?
From what I understand, for example if I push a print statement in commit #2 and I didnt realize it until commit #20 if I checkout commit #2 I would lose all the progress from commit #2 onwards. Or even if i save the code somewhere else, I would have to commit them in one single batch again, which I find defeats the purpose of version control