diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2006-11-24 11:37:29 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2006-11-24 11:37:29 +0000 |
commit | 9f292e7bac14ec22b2dd8285e7f4ae7d21078e2b (patch) | |
tree | a45d8f828d904bddc9adc4e17ee305fc7a9dc36a /git-clone.txt | |
parent | a340aaa88e7e6b3c6e57e248e0c3a67e8b9067a3 (diff) | |
download | git-htmldocs-9f292e7bac14ec22b2dd8285e7f4ae7d21078e2b.tar.gz |
Autogenerated HTML docs for v1.4.4.1-g3fbe2
Diffstat (limited to 'git-clone.txt')
-rw-r--r-- | git-clone.txt | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/git-clone.txt b/git-clone.txt index 86060472a..4cb42237b 100644 --- a/git-clone.txt +++ b/git-clone.txt @@ -11,7 +11,8 @@ SYNOPSIS [verse] 'git-clone' [--template=<template_directory>] [-l [-s]] [-q] [-n] [--bare] [-o <name>] [-u <upload-pack>] [--reference <repository>] - [--use-separate-remote] <repository> [<directory>] + [--use-separate-remote | --use-immingled-remote] <repository> + [<directory>] DESCRIPTION ----------- @@ -71,9 +72,13 @@ OPTIONS Make a 'bare' GIT repository. That is, instead of creating `<directory>` and placing the administrative files in `<directory>/.git`, make the `<directory>` - itself the `$GIT_DIR`. This implies `-n` option. When - this option is used, neither the `origin` branch nor the - default `remotes/origin` file is created. + itself the `$GIT_DIR`. This obviously implies the `-n` + because there is nowhere to check out the working tree. + Also the branch heads at the remote are copied directly + to corresponding local branch heads, without mapping + them to `refs/remotes/origin/`. When this option is + used, neither the `origin` branch nor the default + `remotes/origin` file is created. --origin <name>:: -o <name>:: @@ -97,8 +102,15 @@ OPTIONS --use-separate-remote:: Save remotes heads under `$GIT_DIR/remotes/origin/` instead - of `$GIT_DIR/refs/heads/`. Only the master branch is saved - in the latter. + of `$GIT_DIR/refs/heads/`. Only the local master branch is + saved in the latter. This is the default. + +--use-immingled-remote:: + Save remotes heads in the same namespace as the local + heads, `$GIT_DIR/refs/heads/'. In regular repositories, + this is a legacy setup git-clone created by default in + older Git versions, and will be removed before the next + major release. <repository>:: The (possibly remote) repository to clone from. It can |