Skip to content

Instantly share code, notes, and snippets.

@operatorofhell
Created December 5, 2017 13:44
Show Gist options
  • Save operatorofhell/6abd5ad6012bb5d329b5a59e0e7deecf to your computer and use it in GitHub Desktop.
Save operatorofhell/6abd5ad6012bb5d329b5a59e0e7deecf to your computer and use it in GitHub Desktop.
git multi windows shares remote
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = //host/tmp/a
fetch = +refs/heads/*:refs/remotes/origin/*
pushurl = //host/tmp/a
pushurl = //host/tmp/b
[branch "master"]
remote = origin
merge = refs/heads/master
pushd \\<host>\share
git init --bare myrepo.git
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment