Git Cheatsheet

[toc] I learn git from this interactive tutorial. I take note along the way while I was doing it. Learn git visual Commit to repo We was on C1 commit git commit Branch new branch git branch <name> change branch git checkout <name> create a new branch and check it out It can be shorthand: git checkout -b <name> merge Now we are working on main branch We are going to merge the branch bugFix into main...

June 27, 2022 · 5 min · Derry