diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-06-12 17:54:00 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-13 14:38:16 -0700 |
commit | 994c2aaf31e1f8e8e69f86324e585620fee68c82 (patch) | |
tree | 3329c4d2264fd2a32268cfcb4e57ece0988c16b1 /Documentation | |
parent | 508ea88226bbdd25ac0aac4f9c8a65a2c3b5be5c (diff) | |
download | git-994c2aaf31e1f8e8e69f86324e585620fee68c82.tar.gz git-994c2aaf31e1f8e8e69f86324e585620fee68c82.tar.xz |
clone: define shallow clone boundary based on time with --shallow-since
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-clone.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index b7c467a00..a410409b8 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -193,6 +193,9 @@ objects from the source repository into a pack in the cloned repository. `--no-single-branch` is given to fetch the histories near the tips of all branches. +--shallow-since=<date>:: + Create a shallow clone with a history after the specified time. + --[no-]single-branch:: Clone only the history leading to the tip of a single branch, either specified by the `--branch` option or the primary |