I wish to push to a git repository hosted on http://localhost:8000/tehCode.git
servered using the python -m "SimpleHTTPServer"
command.
I receive an error
error: Cannot access URL http://localhost:8000/tehCode.git/, return code 22
fatal: git-http-push failed
I can clone this repository just fine, but I can't push to it. How can I do this assuming I want to still use the Python SimpleHTTPServer ?
I've already looked at
- Cannot push Git to remote repository with http/https
- https://superuser.com/questions/473177/git-push-fatal-failed
But they seem to be working with Apache and most of the solutions are by editing Apache's config file.