記錄一些很常用但卻一直忘記的指令:
checkout remote branch
git checkout -b BRANCH origin/BRANCH
git diff BRANCH > file.txt
Fix #issueNo
Related to GROUP/PROJECT#issueNo
git config -e
git tag -a v1.1.0 -m 'MESSAGE'
git push origin v1.1.0
先到目的地 BRANCH 在 pick 別的 BRANCH 的 HASH
git cherry-pick HASH
git cherry-pick HASH1..HASH2