Skip to content

Instantly share code, notes, and snippets.

@major0
Last active August 29, 2015 14:02
Show Gist options
  • Save major0/498f83a8606d4b1c5f54 to your computer and use it in GitHub Desktop.
Save major0/498f83a8606d4b1c5f54 to your computer and use it in GitHub Desktop.
Non-working git config for aiding in a PQM based workflow
[push]
default = current
[remote "origin"]
url = git@example.com:project.git
fetch = +refs/heads/master:refs/remotes/origin/master
[remote "pqm"]
url = git@example.com:project.git
fetch = +refs/heads/personal/user/pqm/*:refs/remotes/personal/user/pqm/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "personal/user/pqm/master"]
remote = .
pushremote = pqm
merge = res/heads/master
rebase = true
@major0
Copy link
Author

major0 commented Jun 23, 2014

After discussing this issue on irc://irc.freenode.net/git, it seems that this is not possible w/out a branch.<name>.push configuration directive, which currently does not exist.

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