Skip to content

Instantly share code, notes, and snippets.

@dharFr
Last active December 20, 2015 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dharFr/6154934 to your computer and use it in GitHub Desktop.
Save dharFr/6154934 to your computer and use it in GitHub Desktop.
Quickly share your local GIT repo

On your side :

> cd ~/path/to/your/repo/
> git daemon --reuseaddr --verbose  --base-path=. --export-all ./.git

On your co-worker side :

> git remote add direct-share git://your-ip-address-here/
> git show direct-share/BRANCH_NAME

source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment