设置新的原点后:git remote set-url origin git://new.url.here 我已经使用过:git push origin refs/remotes/origin/*:refs/heads/*
git push origin "refs/remotes/origin/*:refs/heads/*"
- Sadiq Huq