FYI: git worktrees as replacement for "rsync the CVSROOT"

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: FYI: git worktrees as replacement for "rsync the CVSROOT"
Date: 2017-01-15 21:01:47
Message-ID: 103371b7-791e-cdfb-1007-f18d7a31a640@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Not sure how many people still use [1], as referenced by our git
wiki[2], but it appears git worktrees are a viable replacement for that
technique. In short, if you're already in your checkout:

git worktree add ../9.6 REL9_6_STABLE

would give you a checkout of 9.6 in the ../9.6 directory.

BTW, I learned about this from this "git year in review" article[3].

1:
https://www.postgresql.org/message-id/20090602162347.GF23972@yugib.highrise.ca
2:
https://wiki.postgresql.org/wiki/Working_with_Git#Continuing_the_.22rsync_the_CVSROOT.22_workflow
3:
https://hackernoon.com/git-in-2016-fad96ae22a15?imm_mid=0ec3e0&cmp=em-prog-na-na-newsltr_20170114#.shgj609ad
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Artur Zakirov 2017-01-15 22:15:28 Re: [PATCH] Generic type subscription
Previous Message Petr Jelinek 2017-01-15 19:28:30 Re: Logical Replication WIP