by brendyn · 1y ago · 0 comments
Another option would be to use the email-based workflow, but that's quite different from most people's expected git experience.
Match User gituser
ChrootDirectory /srv/git_chroot
ForceCommand internal-sftp
AllowTcpForwarding no
X11Forwarding no
PermitTTY no
But tbh sending patches is fun and easy! After you force yourself to do it a few times you might even prefer it to push/pullOr if you are using Linux, there is a httpd (web server) in the busybox package:
busybox httpd -f -p 0.0.0.0:10080 -h ~/public/