2017-06-27 92 views
0

我在一个bitbucket账户中托管了回购。代码(repo)正在生产服务器上运行。我将生产服务器上的repo推送到全新的bitbucket帐户。现在在我的本地笔记本电脑上,我将来自旧bitbucket的repo origin url指向新的。当我在本地的笔记本电脑的git拉我:将一个回购从一个bitbucket账户转移到另一个

Your configuration specifies to merge with the ref 'refs/heads/product_replacement' 
from the remote, but no such ref was fetched. 

git branch -a给我:

product_replacement 
remotes/origin/product_replacement 

git config -l给我:

branch.product_replacement.remote=origin 
branch.product_replacement.merge=refs/heads/product_replacement 

git ls-remote给我:

7c2629311bb03fc153f743733374454b5961eaf0 refs/remotes/origin/product_replacement 

回答

相关问题