How to pull from a Git repository through an HTTP proxy

0 votes

Hi Guys,

I am new to Git. I want to pull from a Git repository through an HTTP proxy. How can I do that?

Nov 21, 2020 in Git & GitHub by akhtar
• 38,180 points
87 views

1 answer to this question.

0 votes

Hi@akhtar,

You can set the HTTP proxy that Git uses in the global configuration property http.proxy as shown below.

$ git config --global http.proxy http://proxy.mycompany:80
answered Nov 21, 2020 by MD
• 95,140 points

Related Questions In Git & GitHub

0 votes
2 answers

How to view the nested workflow of a local git repository?

The closest way to view branches in ...READ MORE

answered Aug 2, 2019 in Git & GitHub by Sirajul
• 59,050 points
375 views
0 votes
1 answer
0 votes
1 answer

Is there a way to remove a directory from git repository?

This is simple, just follow the commands ...READ MORE

answered Jul 13, 2018 in Git & GitHub by Sophie may
• 10,550 points
182 views
0 votes
1 answer

How to add a remote git repository in Jenkins

Follow these steps: Step 1 Go to Manage ...READ MORE

answered May 23, 2019 in Git & GitHub by Alok
1,733 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,038 views
+2 votes
1 answer
0 votes
1 answer

How to add an empty directory to a Git repository?

Hi@akhtar, A popular solution is to simply add ...READ MORE

answered Oct 5, 2020 in Git & GitHub by MD
• 95,140 points
91 views
0 votes
1 answer

How to remove files from git repository as well as users system?

Hi@akhtar, The git rm command deletes the file ...READ MORE

answered Nov 19, 2020 in Git & GitHub by MD
• 95,140 points
72 views