realbasic-nug
[Top] [All Lists]

Re: git for version control

To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
Subject: Re: git for version control
From: "Trausti Thor Johannsson" <tj@quarksbar.net>
Date: Thu, 30 Oct 2008 14:28:26 +0100
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=roVJ4nUJkDCG4NdnwF2VAy7Ugvf0QVp4ngzOKKm58H0=; b=bq2jY0JScEPWcQcL0j1sIzRCEN/G5n4PMxJlmrpk0lveJoU34RqP9po3P8bgFx2ZDf 1cwMC1b91OZHWDnw54IiQhhWIy25Q5B/Cnwy0Ik2e4lBCAzlDIZrlfa9nHliFWIghjh7 YUTR8x2bF6TcLgB+dDSWtcaOulCsI9HOkvXqQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=ZJpmZSU0Kuh/IymcbIh5rb2adjrbglCme0s1Qd4h94oRJHWCNwUgKGsGTDeWufIBUJ xd2sR4uEiHxs5Qk3LOUQVqAozlbllY9QMQh69g/ieXHvCoybUyg8fWzVKgDKLlbNhaE6 XbyHz219Z5m98PU2QoLSTGtL6JWIsLaaIq3rw=
In-reply-to: <4dfaab230810300613q6d398c8aga1acf75f87fa6b1a@mail.gmail.com>
References: <8B7E82C8-EA6D-4157-94EE-0F6A1AC76D6D@declareSub.com> <DABF9422-A938-4952-83FA-01700CB9BC3C@pandora.be> <c867e59d0810300437t3fa38167qdb2e510f02691481@mail.gmail.com> <4dfaab230810300613q6d398c8aga1acf75f87fa6b1a@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
peepcode.com also has a very nice screen cast on using git.


Trausti

On Thu, Oct 30, 2008 at 2:13 PM, Lennart Ramberg
<ramberg.lennart@gmail.com>wrote:

> I have not used any version control system yet, but shopping around I
> found these links on git:
>
> Directly from the horse's mouth:
> http://www.youtube.com/watch?v=4XpnKHJAok8
> (by Linus Torvalds)
>
> There is also a follow-up on Git
> http://www.youtube.com/watch?v=8dhZ9BXQgc4
> by Randal Schwartz
>
> /Lennart
>
>
> On 10/30/08, Trausti Thor Johannsson <tj@quarksbar.net> wrote:
> > The pragmatic Programmer has an excellent book on using git.  Would like
> to
> > have a better conflict catching chapter, but hey, it is good.
> > http://pragprog.com/titles/tsgit/pragmatic-version-control-using-git
> >
> >
> > Trausti
> >
> > On Thu, Oct 30, 2008 at 10:59 AM, Peter De Berdt
> > <peter.de.berdt@pandora.be>wrote:
> >
> >>
> >> On 29 Oct 2008, at 18:49, Charles Yeomans wrote:
> >>
> >>  Has anyone tried using git for version control?  I'm taking a look at
> it.
> >>>
> >>
> >> I've already posted a few times about it on this list (it should be in
> the
> >> archives) and it's simply a lot better than CVS and SVN (and even better
> >> than Perforce, but some ppl just want enterprise support). The only
> >> versioning system that comes close IMHO is Mercurial, but Linus Torvalds
> >> based it on Mercurial, so no surprise there.
> >>
> >> What I particularly like about git is:
> >> - Distributed: using gitosis or github you can still have a "central
> >> repository", but you always work on a local repository and push the
> >> changes
> >> to the remote one. This has several advantages: you can still commit
> while
> >> being offline, you can work on a feature and only push when it is
> stable,
> >> it's a lot quicker to revert to a previous commit, your local repo is a
> >> backup in itself in case your central repo goes down
> >> - Clean: no more .svn folders in every single directory of your project
> >> (always fun when you delete a folder from SVN not using svn delete, but
> >> just
> >> deleting it from the terminal), just one single .git folder in the root
> of
> >> your project. All config files are short and easily readable and
> editable.
> >> Ignoring files/folders is a simple matter of editing the .gitignore file
> >> and
> >> you're set, no propset blabla anymore
> >> - Branching the way it should be: branching in svn has always been a bit
> >> of
> >> a pain, it is possible, but it's hell trying to merge reliably both
> ways.
> >> These days I happily start a new branch for an experimental feature (git
> >> branch my-experimental-feature), work on it (git checkout
> >> my-experimental-feature), get a phonecall for a bug, fix it in the
> master
> >> branch (git checkout master), go back to my experimental one, work a bit
> >> more, realize I need that fix from the master branch (git rebase),
> finish
> >> the feature, go back to the master branch and merge it (git checkout
> >> master
> >> && git merge my-experimental-feature). It's hard to explain how easy it
> is
> >> and how quickly I create a new branch to try something out now, but once
> >> you
> >> try it out, you'll know what I mean. As I said, it could be done in
> >> subversion, but the way you had to do it was so cumbersome all of our
> >> developers generally avoided doing it in the first place. When we
> switched
> >> to git, there was a bit of mumbling for the first two days, then we saw
> >> nothing but happy faces.
> >>
> >>
> >> Best regards
> >>
> >> Peter De Berdt
> >>
> >>
> >> _______________________________________________
> >> Unsubscribe or switch delivery mode:
> >> <http://www.realsoftware.com/support/listmanager/>
> >>
> >> Search the archives:
> >> <http://support.realsoftware.com/listarchives/lists.html>
> >>
> > _______________________________________________
> > Unsubscribe or switch delivery mode:
> > <http://www.realsoftware.com/support/listmanager/>
> >
> > Search the archives:
> > <http://support.realsoftware.com/listarchives/lists.html>
> >
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>