Git 日常使用技巧

Git 日常使用技巧,提高生产力.

Git usage tips and methods

1.更新第一次的commit(rebase -i 只能更新第2个commit)

git checkout --orphan new-master master
git commit -m "新的第一次commit内容"