Git:替换master分支
git checkout new-design
git merge --strategy=ours --allow-unrelated-histories master
git checkout master
git merge new-design
git push origin master
欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。
git checkout new-design
git merge --strategy=ours --allow-unrelated-histories master
git checkout master
git merge new-design
git push origin master