Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Speaking for myself: the one specific thing I use every now and then in Mercurial is "hg serve" command. It allows me to serve up my changes to others in an ad-hoc way without needing to set up a repo in the usual places (Bitbucket, Github, etc.).

You can do the same in git:

git daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/

or

git daemon --verbose --export-all --base-path=. --reuseaddr .



AFAIK, this does not work with Git in Windows. I will try it at home where I have Lubuntu and see. (If it works, I'll make an alias for it.) Thanks.


Or you can use git instaweb instead?


Or SSH




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: