Git fatal error: git-http-push failed

If you get

fatal: git-http-push failed

error message while trying to push you changes to remote WebDAV repository, make sure you have you login and password in your Git config file. Like this:

[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = http://username:password@git.repository.url/repo.git

The solution was found on Stackoverflow.

Leave a Reply

Your email address will not be published. Required fields are marked *