Git cheatsheet

2023-03-16

Git Cheatsheet

Git Practice

To submit a PR

1
2
3
4
git pull upstream main // pull from a remote branch 
git checkout -b new_branch upstream/main // create a new branch
git cherry-pick 1234567 // add your own commits
git push -u origin new_branch // push to my own repo first