Please Git It
Continuing the
Git Migration thread from
foundation-list, I have to agree with
ebassi that git is designed to be highly scriptable. That's kind of a
tautology as one can infer it from the fact that most git tools are written as scripts calling lower-level ones.
What I wanted to post but am now writing here is that you can write a wrapper around git (
porcelain as they call it in git speak) that behaves exactly like bad ol' CVS if you really want to keep the old workflows and minimize the learning curve. Without bothering to write a full script, lets have a quick look:
cvs -d root checkout module
git clone root/module module
cd module
git checkout -b working
cvs update
git fetch
git rebase master
cvs commit what
git commit what?what:.
git push origin working:master
cvs tag tagname
git tag tagname
git push origin tagname
You get the idea... However, the main point about migration to distributed source control systems is, you really should not keep your old workflows or you are ignoring most of the benefits. Non-technical users (translators?) can use these kind of scripts though. Last but not least, you can do
cool things with git that you can't do with CVS.
Labels: cvs, git, gnome