This project is just a demo how to use git
Link: https://youtube.com/playlist?list=PLkY6Xj8Sg8-viFVtaVps_h_Emi2wQyE7q
git init
git status
git add
git commit
git log
git show
git diff
working directory
staging area
git repository
git checkout -- <file>
git reset - undo
git checkout -b <branch> (branching)
git checkout <branch>
git merge
A ---> B
checkout A -> git merge B
git reset --soft <to_commit>
git reset --mixed <to_commit>
git reset --hard <to_commit>
git revert <commit>
.gitignore
git clone
git pull
Pull request
1. git checkout -n <feature branch>
2. git push origin <branch>
3. create a pull request on Github
4. review code
5. merge to master