Back
Why am I getting this error when my git repository url is correct?
EDIT:
fatal: '[email protected]/gittest.git' does not appear to be a git repositoryfatal: The remote end hung up unexpectedly
fatal: '[email protected]/gittest.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
The correct scp-style way of specifying a repository is shown below:
[user@]host.xz:path/to/repo.git/
You should use instead of the URL:
[email protected]:/gittest.git
i.e. in the URL, you are using, you missed out the : (colon)
To update the URL for origin you may do:
git remote set-url origin [email protected]:/gittest.git
31k questions
32.8k answers
501 comments
693 users