Learn Git
the command git
NOTE: The command of git init
should be excuted at the root of respo.
how to make the locate file in sync with the remote repo changed (by other).
git pull <remote> <branch>
how the Branch is implement
Branch and Merge tutorial
understand the Git history
Creat new branch
git branch < branch name>
Show how many branches it has.
git branch
Switch to another branch.
git check out <branch name>
Merge two branch
git merge < one branch name> < another branch name>
Show the git history
git log --oneline --graph --color --all --decrator
Q&A
Run into Out of memory,malloc failed(try to allocate 88812448 bytes). There is a answer Eidit the .git/config file