rm -rf .git
git init
git add .
git cm "first commit"
git remote add origin [your_github_repo_url]
git push -f -u origin master
Git完全清除提交信息/重建版本库
最新推荐文章于 2024-02-29 17:49:46 发布
rm -rf .git
git init
git add .
git cm "first commit"
git remote add origin [your_github_repo_url]
git push -f -u origin master