Search code examples
git

I can't clone git repository .../info/refs not valid


So you can help me? I can't clone git repository:

** My command **

§ git clone https://github.com/micaelandre/micaelandre.github.io.git

and I can see this error :

GIT OUTPUT

fatal error: https://github.com/micaelandre/micaelandre.github.io.git/info/refs not valid: is this a git repository?

Solution

  • You can clone a repository with HTTPS or SSH, you should configure SSH in your local & remote to use SSH.

    git clone https://github.com/micaelandre/micaelandre.github.io.git
    

    or if you enable ssh

    git clone [email protected]:micaelandre/micaelandre.github.io.git