Gitの問題の並べ替え

GitHubのすべてのコミットレコードを削除します

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時間报错:致命的:リモートエラー:git://github.com/user/xxx.gitにプッシュできません

https://www.cnblogs.com/memory4young/p/git-push-fatal-remote-error-can-not-push-over-the-git-protocol.html

おすすめ

転載: blog.csdn.net/qq_39517716/article/details/106951036