I'm trying to set up git via WebDAV, the idea is to host it on my NAS where I cannot install any software, so I can't really use smarter transports.
Now clone works, but push does not: I get "http-push-failed" with the error code 22 - I googled that and all I found is that I have to enable webdav to allow for pushing but it is already enabled(I can mount it on windows and then work on it, but I would prefer to push directly to it).
I did run git update-server-info and I'm trying it in a local network.
The command I tried is
git push http://username:password@domain/share/.git master
(I also tried https)