{"thread":{"id":"4432","subject":"[PATCH] Document git-clone --use-separate-remote","startedAt":"2006-06-08T06:50:09Z","lastAt":"2006-06-08T06:50:09Z","messageCount":1,"participants":["Uwe Zeisberger"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"21413","messageId":"20060608065009.GA4173@informatik.uni-freiburg.de","threadId":"4432","inReplyTo":null,"subject":"[PATCH] Document git-clone --use-separate-remote","fromName":"Uwe Zeisberger","fromEmail":"zeisberg@informatik.uni-freiburg.de","sentAt":"2006-06-08T06:50:09Z","receivedAt":"2006-06-08T06:50:09Z","isPatch":true,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Signed-off-by: Uwe Zeisberger <uzeisberger@io.fsforth.de>\n---\n Documentation/git-clone.txt |   11 ++++++++---\n 1 files changed, 8 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt\nindex 94d9393..7572e4b 100644\n--- a/Documentation/git-clone.txt\n+++ b/Documentation/git-clone.txt\n@@ -11,7 +11,7 @@ SYNOPSIS\n [verse]\n 'git-clone' [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare]\n \t  [-o <name>] [-u <upload-pack>] [--reference <repository>]\n-\t  <repository> [<directory>]\n+\t  [--use-separate-remote] <repository> [<directory>]\n \n DESCRIPTION\n -----------\n@@ -73,7 +73,7 @@ OPTIONS\n \tfiles in `<directory>/.git`, make the `<directory>`\n \titself the `$GIT_DIR`. This implies `-n` option.  When\n \tthis option is used, neither the `origin` branch nor the\n-\tdefault\t`remotes/origin` file is created.\n+\tdefault `remotes/origin` file is created.\n \n -o <name>::\n \tInstead of using the branch name 'origin' to keep track\n@@ -94,12 +94,17 @@ OPTIONS\n \tif unset the templates are taken from the installation\n \tdefined default, typically `/usr/share/git-core/templates`.\n \n+--use-separate-remote::\n+\tSave remotes heads under `$GIT_DIR/remotes/origin/' instead\n+\tof `$GIT_DIR/refs/heads/'.  Only the master branch is saved\n+\tin the latter.\n+\n <repository>::\n \tThe (possibly remote) repository to clone from.  It can\n \tbe any URL git-fetch supports.\n \n <directory>::\n-\tThe name of a new directory to clone into.  The\t\"humanish\"\n+\tThe name of a new directory to clone into.  The \"humanish\"\n \tpart of the source repository is used if no directory is\n \texplicitly given (\"repo\" for \"/path/to/repo.git\" and \"foo\"\n \tfor \"host.xz:foo/.git\").  Cloning into an existing directory\n-- \n1.3.3.g423a\n\n\n-- \nUwe Zeisberger\n\nhttp://www.google.com/search?q=square+root+of+2\n"}]}