Error during a git clone on a private repository (Centos) -


i'm using centos , have weird error when try clone private repository github.com

i

git clone https://github.com/clemzd/gclchallenge.git 

and error :

initialized empty git repository in /home/makeitgreen/documents/gclchallenge/.git/ error: requested url returned error: 403 forbidden while accessing      https://github.com/clemzd/gclchallenge.git/info/refs fatal: http request failed 

it sounds didn't configure git well. remember did save password , error comes don't know how cancel this.

git config --global credential.helper wincred 

i tried on machine , works because ask me credentials.

thank help!

solution : centos had git version < 1.7.9 , had specify credentials part of url i've improved version 2.2.0 , works!

why specifying wincred being on centos? can try unsetting them git config --global --unset credential.helper

then read http://git-scm.com/docs/gitcredentials or is there way skip password typing when using https:// github


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -