Pushing to multiple repos using git
While poking around the Palm Pre, there is now a git repo available on gitorious that you can use then use quilt to manage patches to your rooted Pre.
See http://predev.wikidot.com/applying-patches for additional details.
However, I also wanted to have my own repo to play with, while making additional changes and whatnot to things. This meant that I somehow had to be able to push to multiple repos at the same time. One way is to issue multiple git push commands but after some head scratching and googling, I have the following setup.
My .git/config now looks like this:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [branch "master"] remote = origin merge = refs/heads/master [remote "origin"] url = git@gitorious.org:webos-internals/modifications.git fetch = +refs/heads/*:refs/remotes/origin/* [remote "all"] url = git@gitorious.org:webos-internals/modifications.git url = git@github.com:jauderho/webos-hacks.git
So all I have to do is a “git push all master” to push to both repos.