Thanks for this tutorial. I managed to clone the repo without entering username/password, but when pushing no username/pasword is requested, an error occurs:
jvleminckx@joris-laptopWork ~/reponame master git push -u origin master error: Cannot access URL 198.204.227.93/git/reponame/, return code 22 fatal: git-http-push failed error: failed to push some refs to '198.204.227.93/git/reponame/'
No credentials asked...
UPDATE: This happened because I hadn't commented out IncludeOptional sites-enabled/*.conf
in /etc/apache2/apache2.conf. Once done this, the pushing started asking for credentials and the push worked fine.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for this tutorial. I managed to clone the repo without entering username/password, but when pushing no username/pasword is requested, an error occurs:
jvleminckx@joris-laptopWork ~/reponame master git push -u origin master
error: Cannot access URL 198.204.227.93/git/reponame/, return code 22
fatal: git-http-push failed
error: failed to push some refs to '198.204.227.93/git/reponame/'
No credentials asked...
UPDATE: This happened because I hadn't commented out
IncludeOptional sites-enabled/*.conf
in /etc/apache2/apache2.conf. Once done this, the pushing started asking for credentials and the push worked fine.