Hi all,
Using git 1.7.10.4
I find the behavior or documentation of git clone --single-branch
confusing. Docs currently say:
man git-clone
--single-branch
Clone only the history leading to the tip of a single
branch, either specified by the --branch option or the primary
On Sun, Feb 17, 2013 at 7:29 PM, Thibault Kruse
tibokr...@googlemail.com wrote:
git log --pretty=format:'%h-%s %d' --graph --decorate --all
* 4565162-5 (foo)
* 20ce846-4
* a0615eb-3
* fa4131d-2
* f0683bd-1 (bar)
| * 432b5ec-m1 (HEAD, master)
|/
* 39df203-0
git clone repo1 repo2
Hi Duy,
On Sun, Feb 17, 2013 at 3:32 PM, Duy Nguyen pclo...@gmail.com wrote:
On Sun, Feb 17, 2013 at 7:29 PM, Thibault Kruse
tibokr...@googlemail.com wrote:
git log --pretty=format:'%h-%s %d' --graph --decorate --all
* 4565162-5 (foo)
* 20ce846-4
* a0615eb-3
* fa4131d-2
* f0683bd-1
Actually, using git 1.8.3, I get:
git clone repo1 repo2 --depth 1
warning: --depth is ignored in local clones; use file:// instead.
...
So I guess the warning says it all, it helps to read it.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to
4 matches
Mail list logo