# HG changeset patch # User Rob Landley # Date 1195165665 21600 # Node ID d3a9753eea24b12980f417ae7fbc9737026e1df8 # Parent 1bd46b3c996d123c9e4d44d4ffbc78fc415d9487 A note about web URLs vs git URLs, and note the "stable-queue" repository as an example. diff -r 1bd46b3c996d -r d3a9753eea24 local/git-quick.html --- a/local/git-quick.html Sat Nov 10 19:54:09 2007 -0500 +++ b/local/git-quick.html Thu Nov 15 16:27:45 2007 -0600 @@ -73,9 +73,23 @@ (Here is a list of all git repositories hosted on kernel.org.)

-

(If you forget the URL a git repository came from, it's in the file +

If you forget the URL a git repository came from, it's in the file ".git/FETCH_HEAD". Normally you shouldn't need to care, since git remembers -it.)

+it.

+ +

Note that unlike Mercurial, the URLs git uses aren't the same ones you +find repositories at on the web. You have to translate them. For example, +the "stable-queue" repository at which bugfix-only patches for fourth level +dot release of the linux kernel queue up before going in is on the web at +http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git. +In this case, the corresponding git repository would be cloned with:

+ +
+
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git
+
+
+ +

I.E. replace "http://git.kernel.org/?p=" with "git://git.kernel.org/pub/scm/".

Updating your local copy