diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-22 17:27:52 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-24 23:17:06 -0800 |
commit | 4fb66a62eeb7bfec115cd0058d7a05ab62fc23e7 (patch) | |
tree | ab55d82682368f3c03c2b2933dff5a821f99db9f /Documentation | |
parent | 87e80c4b5fec421ecd566498b7dd4672f76fdca2 (diff) | |
download | git-4fb66a62eeb7bfec115cd0058d7a05ab62fc23e7.tar.gz git-4fb66a62eeb7bfec115cd0058d7a05ab62fc23e7.tar.xz |
clone: do not create remotes/origin nor origin branch in a bare repository.
It is simply pointless, since no merges will ever happen in such
a repository.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-clone.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 370f53e76..684e4bdf6 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -62,7 +62,9 @@ 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. + 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. -o <name>:: Instead of using the branch name 'origin' to keep track |