通过orphan分支删除git所有历史

tech2022-10-12  98

git checkout --orphan new git commit -m "init" git branch -d master git branch -m new master git push --set-upstream origin master -f
最新回复(0)