3

i can't clone any repository in my server.

when run

git clone http://github.com/farshidrezaei/fitpic.git,

I encounter the following error:

Initialized empty Git repository in /home/domains/test/fitpic/.git/
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/farshidrezaei/fitpic.git/info/refs

fatal: HTTP request failed

Why do I encounter the following error? How to fix this error?

1 Answer 1

1

It sounds like you’ll need to complete the steps on this page before you can clone down your repo: https://help.github.com/articles/set-up-git/

Specifically, there’s a section for “Setting Up Git” that I think may be exactly what you need.

One last thing: I think you’ll want to use https instead of http for your github url :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.