git如何将当前仓库的远程分支推到一个新的仓库中?

答: git push <目标仓库> +refs/remotes/source/:refs/heads/
示例如下:

git push https://github.com/jello.git +refs/remotes/source/*:refs/heads/*

猜你喜欢

转载自www.cnblogs.com/dakewei/p/12989233.html