前言
cmd
git clone [email protected]:rrr/traffic_light_detection.git cd traffic_light_detection git branch -a git checkout --orphan newbranch git rm -rf . echo '# new branch' >> README.md git add README.md git commit -m 'new branch first commit' git push origin emptybranchView Code
参考
1. git创建一个没有历史记录的空白分支_idea git分支不带历史记录_欲饮琵琶码上催的博客-CSDN博客;
完
标签:git,detection,空白,branch,commit,分支 From: https://www.cnblogs.com/happyamyhope/p/17240970.html