2

I was originally on my master branch.

Then, I created a new branch:

git branch my-other-branch 

Then, after I made some changes on my project, I pushed this branch to origin to make it a remote branch:

git push origin my-other-branch 

I guess now the my-other-branch is available to other team members to use.

After a while, I made some more changes, added and committed them, then I tried to pull from the remote branch:

git pull origin my-other-branch 

I got the error :

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

Why do I get that error, where am I wrong?

(My Git version is 1.7.2.3, my OS is Linux/Ubuntu)

6
  • 1
    Seemw more like a proxy issue, as in forums.funtoo.org/viewtopic.php?id=224. What is your Os and what is your Git version? Commented Dec 16, 2011 at 10:23
  • My git version is 1.7.2.3 , my OS is Linux Ubuntu Commented Dec 16, 2011 at 11:22
  • So is it some kind of proxy config mishap, like described in the link? Something that a env-update could fix? Commented Dec 16, 2011 at 11:28
  • I'm not sure I understand, you make changes to your branch, push them to origin, make some more changes, then want to pull from origin? Commented Dec 16, 2011 at 12:45
  • @Gauthier, pull the changes made by other team members as my post said. Commented Dec 16, 2011 at 14:35

1 Answer 1

0

Here you will need to set up branch tracking. Please run the following

git branch --track my-other-branch origin/my-other branch git pull origin my-otherbranch 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.