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-09-20 14:56:07 发布
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