When I do this:
git clone https://example.com/root/test.git
I am getting this error:
fatal: HTTP request failed
When I use SSH:
git clone username git@example.com:root/test.git
I am getting this error:
Initialized empty Git repository in /server/user/git@example.com:root/test.git/.git/
fatal: 'user' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
It's a private repository, and I have added my SSH keys.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…