* Fetch via http and proxy which requires authentication
@ 2008-08-28 6:00 Paolo Ciarrocchi
2008-08-28 10:13 ` Paolo Ciarrocchi
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Ciarrocchi @ 2008-08-28 6:00 UTC (permalink / raw)
To: Git
Hi all,
i'm looking for a way to use git behind a corporate proxy which
requires authentication.
i just need to be able to fetch/pull via http.
i'm using git on a win xp box.
Any hint?
thanks.
regards,
--
Paolo
http://paolo.ciarrocchi.googlepages.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fetch via http and proxy which requires authentication
2008-08-28 6:00 Fetch via http and proxy which requires authentication Paolo Ciarrocchi
@ 2008-08-28 10:13 ` Paolo Ciarrocchi
2008-11-03 14:02 ` Dilip M
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Ciarrocchi @ 2008-08-28 10:13 UTC (permalink / raw)
To: Git
On Thu, Aug 28, 2008 at 8:00 AM, Paolo Ciarrocchi
<paolo.ciarrocchi@gmail.com> wrote:
> Hi all,
> i'm looking for a way to use git behind a corporate proxy which
> requires authentication.
> i just need to be able to fetch/pull via http.
> i'm using git on a win xp box.
> Any hint?
Yes, google for http_proxy ;-)
export http_proxy=http://host:port
git clone http://username:password@giturl
Ciao,
--
Paolo
http://paolo.ciarrocchi.googlepages.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fetch via http and proxy which requires authentication
2008-08-28 10:13 ` Paolo Ciarrocchi
@ 2008-11-03 14:02 ` Dilip M
2008-11-04 11:13 ` Paolo Ciarrocchi
0 siblings, 1 reply; 5+ messages in thread
From: Dilip M @ 2008-11-03 14:02 UTC (permalink / raw)
To: Paolo Ciarrocchi, Git Mailing List
On Thu, Aug 28, 2008 at 3:43 PM, Paolo Ciarrocchi
<paolo.ciarrocchi@gmail.com> wrote:
>> Hi all,
>> i'm looking for a way to use git behind a corporate proxy which
>> requires authentication.
>> i just need to be able to fetch/pull via http.
>> i'm using git on a win xp box.
>> Any hint?
>
> Yes, google for http_proxy ;-)
>
> export http_proxy=http://host:port
> git clone http://username:password@giturl
I tried setting, export http_proxy=http://<user>:<password>@host:port
But git clone failed!
$git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git
clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Initialized empty Git repository in /home/dilipm/bin/linux-2.6/.git/
fatal:
http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs
download error - The requested file was not found
What may the problem? How can debug....
PS: wget works ...
--
Dilip
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fetch via http and proxy which requires authentication
2008-11-03 14:02 ` Dilip M
@ 2008-11-04 11:13 ` Paolo Ciarrocchi
2008-11-06 13:29 ` Dilip M
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Ciarrocchi @ 2008-11-04 11:13 UTC (permalink / raw)
To: Dilip M; +Cc: Git Mailing List
On Mon, Nov 3, 2008 at 3:02 PM, Dilip M <dilipm79@gmail.com> wrote:
> On Thu, Aug 28, 2008 at 3:43 PM, Paolo Ciarrocchi
> <paolo.ciarrocchi@gmail.com> wrote:
>>> Hi all,
>>> i'm looking for a way to use git behind a corporate proxy which
>>> requires authentication.
>>> i just need to be able to fetch/pull via http.
>>> i'm using git on a win xp box.
>>> Any hint?
>>
>> Yes, google for http_proxy ;-)
>>
>> export http_proxy=http://host:port
>> git clone http://username:password@giturl
>
> I tried setting, export http_proxy=http://<user>:<password>@host:port
>
> But git clone failed!
>
> $git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git
> clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> Initialized empty Git repository in /home/dilipm/bin/linux-2.6/.git/
> fatal:
> http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs
> download error - The requested file was not found
>
> What may the problem? How can debug....
Works for me:
$ git version
git version 1.6.0.2.1172.ga5ed0
I set in the Environment Variables panel:
Variable Value
http_proxy http://ip_of_my_proxy
Regards,
--
Paolo
http://paolo.ciarrocchi.googlepages.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fetch via http and proxy which requires authentication
2008-11-04 11:13 ` Paolo Ciarrocchi
@ 2008-11-06 13:29 ` Dilip M
0 siblings, 0 replies; 5+ messages in thread
From: Dilip M @ 2008-11-06 13:29 UTC (permalink / raw)
To: Paolo Ciarrocchi; +Cc: Git Mailing List
On Tue, Nov 4, 2008 at 4:43 PM, <paolo.ciarrocchi@gmail.com> wrote:
> Works for me: $ git version git version 1.6.0.2.1172.ga5ed0
>
> I set in the Environment Variables panel:
>
> Variable Value http_proxy http://ip_of_my_proxy
Okay it solved now. Problem was old version of GIT. libcurl library
problem.
Upgrade the OS ,which in turn upgraded the libs...
Working fine for me too..
--
Dilip
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-06 13:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28 6:00 Fetch via http and proxy which requires authentication Paolo Ciarrocchi
2008-08-28 10:13 ` Paolo Ciarrocchi
2008-11-03 14:02 ` Dilip M
2008-11-04 11:13 ` Paolo Ciarrocchi
2008-11-06 13:29 ` Dilip M
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).