I have a git repo hosted at AWS whom im trying to preform:
git push -u origin master
I am getting the following error:
fatal: http://[URL]/[Repo-Name].git/info/refs not valid: is this a git repository?
Ive tried the answer here without any success: Git .git/info/refs not valid: is this a git repository?
fatal: .git/info/refs not valid: is this a git repository?
What will be the possible solutions over this error?
When I am using
git remote -v
I am getting:
origin http://[URL]/test1.git (fetch)
origin http://[URL]/test1.git (push)
The answers you linked refer to a change in the URL. Generally it happens on locally hosted servers such as GitLab that the ports displayed differ. You might want to check what your port is, it may not be the default port(80).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With