清空github仓库
1.Remove the history from
1 | rm -rf .git |
2.recreate the repos from the current content only
1 | git init |
3.push to the github remote repos ensuring you overwrite history
1 | git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 xd's blog!
评论