[LinuxPPS] git

Rodolfo Giometti giometti at linux.it
Wed Aug 2 12:45:55 CEST 2006


On Wed, Aug 02, 2006 at 12:08:54PM +0200, Udo van den Heuvel wrote:
> 
> Git appears to be less intuitive than cvs.

Maybe at beginning...

> No.
> I studied teh man pages for a while but even guessing the git server's
> url is hard. A small howto, anyone? (who has git working?)

GIT is used to maintain the Linux source code and several other OS
projects. You can find a simple tutorial here:

   http://www.kernel.org/pub/software/scm/git/docs/tutorial.html

> How does the command know where your repo is?
> What setup is required?

Just install the git-core package and then you need __only__ these
commands to get a patch:

   $ git clone git://git.enneenne.com/linuxpps
   $ cd linuxpps
   $ git diff linux-vanilla master > my_patch

First command downloads a copy of my repository (the repository is
huge since it holds the linux-vanilla source code too) and the last
command extracts the patch against the linux-vanilla.

Once you have cloned my repository you can get updates simply using
the command:

   $ git pull git://git.enneenne.com/linuxpps

This time will be downloaded only the differences (few bytes :).

Also sending patches to me is easy. Just modify the code and then use:

   $ git diff > patch_to_submit

Refere to GIT tutorial for further info on patches creation.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060802/13a00641/attachment.pgp


More information about the LinuxPPS mailing list