Submit code process
Increase: git add url (Try not to use git add .)
Submit: git commit -m comment
拉取:git pull <remote> <branch>
推送:git push <remote> <branch>
View branch
git branch -a
Switch branch
git checkout -b branch name
Check the current status (whether there are any modified files, etc.)
git status
View log
git log
Change the file back to a previous version
Version value: the string followed by commit after git log is
git checkout version value file path
git merge branch
Switch to the branch to be merged
git pull origin the branch to be merged
Switch back to your branch
git merge the branch to be merged