mkdir /opt/src/pgsql-git cd /opt/src/pgsql-git git clone --bare --mirror ssh://git@gitmaster.postgresql.org/postgresql.git cd /opt/src/pgsql-git git clone postgresql master cd master git checkout master git config branch.master.rebase true git config user.name "Joe Conway" git config user.email mail@joeconway.com git config remote.origin.fetch '+refs/heads/master:refs/remotes/origin/master' cd /opt/src/pgsql-git git clone postgresql REL9_0_STABLE cd REL9_0_STABLE git checkout REL9_0_STABLE git config branch.REL9_0_STABLE.rebase true git config user.name "Joe Conway" git config user.email mail@joeconway.com git config remote.origin.fetch '+refs/heads/REL9_0_STABLE:refs/remotes/origin/REL9_0_STABLE' git branch -D master cd /opt/src/pgsql-git git clone postgresql REL8_4_STABLE cd REL8_4_STABLE git checkout REL8_4_STABLE git config branch.REL8_4_STABLE.rebase true git config user.name "Joe Conway" git config user.email mail@joeconway.com git config remote.origin.fetch '+refs/heads/REL8_4_STABLE:refs/remotes/origin/REL8_4_STABLE' git branch -D master cd /opt/src/pgsql-git git clone postgresql REL8_3_STABLE cd REL8_3_STABLE git checkout REL8_3_STABLE git config branch.REL8_3_STABLE.rebase true git config user.name "Joe Conway" git config user.email mail@joeconway.com git config remote.origin.fetch '+refs/heads/REL8_3_STABLE:refs/remotes/origin/REL8_3_STABLE' git branch -D master cd /opt/src/pgsql-git git clone postgresql REL8_2_STABLE cd REL8_2_STABLE git checkout REL8_2_STABLE git config branch.REL8_2_STABLE.rebase true git config user.name "Joe Conway" git config user.email mail@joeconway.com git config remote.origin.fetch '+refs/heads/REL8_2_STABLE:refs/remotes/origin/REL8_2_STABLE' git branch -D master cd /opt/src/pgsql-git git clone postgresql REL8_1_STABLE cd REL8_1_STABLE git checkout REL8_1_STABLE git config branch.REL8_1_STABLE.rebase true git config user.name "Joe Conway" git config user.email mail@joeconway.com git config remote.origin.fetch '+refs/heads/REL8_1_STABLE:refs/remotes/origin/REL8_1_STABLE' git branch -D master cd /opt/src/pgsql-git git clone postgresql REL8_0_STABLE cd REL8_0_STABLE git checkout REL8_0_STABLE git config branch.REL8_0_STABLE.rebase true git config user.name "Joe Conway" git config user.email mail@joeconway.com git config remote.origin.fetch '+refs/heads/REL8_0_STABLE:refs/remotes/origin/REL8_0_STABLE' git branch -D master cd /opt/src/pgsql-git/master git remote set-url origin ssh://git@gitmaster.postgresql.org/postgresql.git git remote update git remote prune origin cd /opt/src/pgsql-git/REL9_0_STABLE git remote set-url origin ssh://git@gitmaster.postgresql.org/postgresql.git git remote update git remote prune origin cd /opt/src/pgsql-git/REL8_4_STABLE git remote set-url origin ssh://git@gitmaster.postgresql.org/postgresql.git git remote update git remote prune origin cd /opt/src/pgsql-git/REL8_3_STABLE git remote set-url origin ssh://git@gitmaster.postgresql.org/postgresql.git git remote update git remote prune origin cd /opt/src/pgsql-git/REL8_2_STABLE git remote set-url origin ssh://git@gitmaster.postgresql.org/postgresql.git git remote update git remote prune origin cd /opt/src/pgsql-git/REL8_1_STABLE git remote set-url origin ssh://git@gitmaster.postgresql.org/postgresql.git git remote update git remote prune origin cd /opt/src/pgsql-git/REL8_0_STABLE git remote set-url origin ssh://git@gitmaster.postgresql.org/postgresql.git git remote update git remote prune origin