[CPLUG] Dual-boot Linux

Joshua J. Berry des at condordes.net
Mon Jan 12 22:56:01 PST 2009


(As an aside: I don't know where people got the idea that distributed source 
control is complicated.  It's not.  As David said, the early versions of Git 
were atrocious, but before Git, there was BitKeeper, and Darcs, and Mercurial, 
and ...  I found Darcs, in particular, to be even simpler than SVN.  But 
anyway.)

On Thursday 08 January 2009 22:36:56 William Tracy wrote:
> If you don't want to spends hours and hours just learning how to use
> the tools, learn Subversion (svn). You'll eventually need to use
> Subversion whenever you have a group project, anyway. (Unless you're
> willing to teach the rest of your team to use Git, because the
> professor won't.)

The basics take 5 minutes or less to learn, if you're already familiar with 
CVS or SVN.

svnadmin init -> git init
svn checkout -> git clone
svn update -> git pull
svn commit -> git commit -a; git push
svn log -> git log
svn diff -> git diff
svn status -> git status

And of course, there are commands to add, delete and switch branches.

Or if the rest of your team *insists* on using svn, and you want to use git 
(assuming you have a standard branches/tags/trunk setup in svn):

svn checkout -> git svn clone
svn update -> git svn rebase
svn commit -> git commit -a (possibly multiple times); git svn dcommit
etc.

(Yes, git--or a part of it--knows how to speak SVN.)

-- Josh


-- 
Joshua J. Berry

"I haven't lost my mind -- it's backed up on tape somewhere."
    -- /usr/games/fortune

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.cplug.org/pipermail/cplug/attachments/20090112/b524764c/attachment.pgp>


More information about the Cplug mailing list