June 12th, 2012 by Gia
login as: gia
[email protected]'s password: 
Last login: Tue Jun 12 05:54:55 2012 from 192.168.196.1

[[email protected] ~]$ git clone http://git.rgiapratama.net/testrepo.git
Initialized empty Git repository in /home/gia/testrepo.git/.git/
error: The requested URL returned error: 401 while accessing http://git.rgiapratama.net/testrepo.git/info/refs

fatal: HTTP request failed
[[email protected] ~]$ vi $HOME/.netrc

** Create file .netrc in home directory and add this code
machine git.rgiapratama.net
login username01
password passwordusername01
** end create file

[[email protected] ~]$ git clone http://git.rgiapratama.net/testrepo.git
Initialized empty Git repository in /home/gia/testrepo.git/.git/
[[email protected] ~]$

Activated debug request to repository

export GIT_CURL_VERBOSE=1

Comments

comments

Tags: , ,
Posted in centOS, Linux | No Comments »
Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.