Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 263 Bytes

仓库瘦身.md

File metadata and controls

18 lines (15 loc) · 263 Bytes

仓库瘦身

命令

# 更新
git pull
# 创建init分支
git checkout --orphan temp
git commit -m "init"
# 删除旧master分支
git branch -D master
# 重命名temp为master
git branch -m temp master
# 强更新
git push -f -u origin master