[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amanda-hackers
Subject:    SVN->Git Mirror
From:       Nikolas Coukouma <atrus () zmanda ! com>
Date:       2008-10-11 12:31:19
Message-ID: 1223728279.7242.113.camel () atrus ! zmanda ! com
[Download RAW message or body]


There's now a Git repository mirroring the Sourceforge Subversion
repository:
  git://github.com/nikolasco/amanda.git
This is one-way (SVN->Git) at the moment, and is updated several times
an hour. It seems likely that at some point in the future Git will
become the primary version control system, replacing Subversion (much
like Subversion replaced CVS).

Unlike Subversion, there is no central server; each "checkout" is a
repository that can function independently. This means that you don't
need to setup another Subversion server and either import the history or
lose it. You can simply run
  git clone git://github.com/nikolasco/amanda.git
  cd amanda
and immediately start hacking. You'll be able to keep your work
versioned very easily :)

Here are some git commands to get you started:
  Create a new branch, named "my-branch" that's based on "trunk"
    git checkout -b my-branch trunk
  Commit changes to files already in the repository
    git commit -a
  Generate a diff against trunk
    git diff trunk
You can find more information at (among other places) the official git
site:
  http://git.or.cz/

GitHub is a free Git hosting site, with some nice features. you can
browse the repository at
  http://github.com/nikolasco/amanda/tree/master
Additionally, if you register and are logged in, you'll see a nice
little "fork" button that will create a copy the amanda repository under
your own GitHub account. (You can use git with most any server, though.
GitHub is just popular and has a nice interface.)

Note: Your copy won't automatically follow the original repository.
You'll probably want to clone your repository add a remote, like
  git clone git@github.com:your-username/amanda.git
  cd amanda
  git remote add nikolasco git://github.com/nikolasco/amanda.git
and then get the latest changes from "nikolasco" periodically
  git fetch nikolasco
To copy your changes from the repository your working with (on your
machine) to GitHub, simply run:
  git push

Cheers,
-Nikolas
--=20
        Design Engineer, Zmanda, Inc.
        http://www.zmanda.com/

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic