Skip to content

Instantly share code, notes, and snippets.

@beekhof
Created February 1, 2011 13:59
Show Gist options
  • Save beekhof/805892 to your computer and use it in GitHub Desktop.
Save beekhof/805892 to your computer and use it in GitHub Desktop.
git clone https://github.com/ClusterLabs/agents-lha
cd agents-lha
git branch linux-ha
git remote add rhat http://git.fedorahosted.org/git/resource-agents.git
git fetch rhat
git branch -t redhat rhat/master
git merge redhat
Here's my current .git/config for the merging repo
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:ClusterLabs/resource-agents.git
[branch "master"]
remote = origin
merge = refs/heads/master
[gui]
wmstate = normal
geometry = 841x415+689+196 187 188
[remote "rhat"]
url = http://git.fedorahosted.org/git/resource-agents.git
fetch = +refs/heads/*:refs/remotes/rhat/*
[branch "redhat"]
remote = rhat
merge = refs/heads/master
[remote "lha"]
url = [email protected]:ClusterLabs/agents-lha.git
fetch = +refs/heads/*:refs/remotes/lha/*
[branch "linux-ha"]
remote = lha
merge = refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment