src serve-git


Name Description Default Value
-addr Address on which to serve (end with : for unused port) :3434
-list list found repository names false


'src serve-git' serves your local git repositories over HTTP for Sourcegraph to pull.

  src [-v] serve-git [-list] [-addr :3434] [path/to/dir]

By default 'src serve-git' will recursively serve your current directory on the address ':3434'.

'src serve-git -list' will not start up the server. Instead it will write to stdout a list of
repository names it would serve.

Documentation at