删除 GitHub 所有 Commit 记录
git checkout --orphan latest_branch
git add -A
git commit -am "."
git branch -D master
git branch -m master
git remote set-url origin https://github.com/user/xxx.git
git push -f origin master
[git/GitHub] git push 时报错:fatal: remote error: You can’t push to git://github.com/user/xxx.git
标签:origin,Git,remote,问题,push,git,整理,com From: https://www.cnblogs.com/georgechou/p/16603074.html