icyphox / legit

web frontend for git
https://git.icyphox.sh
MIT License
376 stars 25 forks source link

Pushing to new bare repo returns no pushing allowed 400 error #5

Closed yonas closed 1 year ago

yonas commented 1 year ago
$ git push
remote: no pushing allowed!
fatal: unable to access 'http://git.lan:5555/micro/': The requested URL returned error: 400
icyphox commented 1 year ago

Hi there, this is mentioned in the readme:

Pushing over https, while supported, is disabled because auth is a pain. Use ssh.

I don’t intend to change this behaviour since I don’t need it. Patches welcome.

yonas commented 1 year ago

Pushing over https, while supported, is disabled ...

How about unencrypted http?

icyphox commented 1 year ago

You misunderstand. git http push (aka git-receive-pack) is disabled in general. This will not change.