2017-06-27 91 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 

回答

相關問題