Re: git for dummies, anyone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 09, 2006 at 04:35:46PM +0100, Diego Calleja wrote:
> - Update your copy:
>   cd linux-2.6; git pull; git pull --tags

Note just the one "git pull" seems to fetch tags on its own now without
need for the last step.

> - How to go back to a certain snapshot
>   git reset --hard v2.6.13 (ls .git/refs/tags to see all the tags). Not the
>   cleanest method, I think.

If you intend to do apply patches against that particular version, you
could also create a new branch:

	git checkout -b my-v2.6.13-branch v2.6.13

or if you know from the start that you only want to update up to a
certain version,

	git pull tag v2.6.13

instead of just "git pull".

I did some work on a new tutorial under Documentation/tutorial.txt in
the git source tree:

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

which might be helpful, though it isn't so specifically targetted at the
case of linux testers.  It wouldn't be hard to write something like
that, though.  Git should make that kind of use pretty easy.

--b.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux