How to Learn Git

Good Resources for Learning Git and GitHub

新的Developer加入的時候

git remote add NAME https://github.com/NAME/repo.git
git remote -v

有人merge NAME to XXX pull request之後

git checkout master
git fetch XXX master
git rebase XXX master

換成Dev Branch

git checkout -b dev/xxx
git rebase master

遇到Conflict

git status
修改conflict檔案
git add -A
git rebase --continue
git push -f origin BRANCH