2011-12-16 94 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