Skip to content

Instantly share code, notes, and snippets.

@dharFr dharFr/local-git-share.md
Last active Dec 20, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.