2011-12-16 56 views
2

我原本是在我的master分支上。從遠程分支拉出時出錯

然後,我創建了一個新的分支:

git branch my-other-branch 

然後,在我做了我的項目的一些變化,我把這個分支origin,使之成爲遠程分支

git push origin my-other-branch 

我想現在my-other-branch可供其他團隊成員使用。

一段時間後,我做了一些更多的變化,添加和提交他們,然後我試圖遠程分支:

git pull origin my-other-branch 

我得到了錯誤

error: Failed connect to SERVER_NAME:443; Operation now in progress while accessing https://SERVER_NAME/projects/bank_project/repositories/git/bank/info/refs

fatal: HTTP request failed

爲什麼我得到那個錯誤,我在哪裏翁?

(我的Git版本是1.7.2.3,我的操作系統是Linux的/ Ubuntu的)

+1

看起來更像是代理問題,如http://forums.funtoo.org/viewtopic.php?id=224。什麼是你的操作系統,你的Git版本是什麼? – VonC 2011-12-16 10:23:24

回答

0

在這裏,您將需要設立分公司跟蹤。請運行以下內容

git branch --track my-other-branch origin/my-other branch 
git pull origin my-otherbranch