zplug-depth - The number of commits to include in the cloned repository
Contents
Copying
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
Description
By using depth tag, you can create a shallow clone with a history truncated to the specified number of
commits. Depth 0 means the whole history.
Table1.zplugdetphtag
┌───────────────────────┬───────────────┐
│ PossiveValues │ Defaultvalue │
├───────────────────────┼───────────────┤
│ │ │
│ (non-negative number) │ 0 │
└───────────────────────┴───────────────┘
Besides, by using zstyle command, you can change default value:
$ zstyle ":zplug:tag" depth 10
Examples
Shallow clone:
$ zplug "b4b4r07/enhancd", \
as:plugin, \
use:enhancd.sh \
depth:1
Further Documentation
See the references in official wiki page to get started using zplug. The wiki may perhaps be overwhelming
for first-time users.
Name
zplug-depth - The number of commits to include in the cloned repository
Reporting Bugs
Report bugs to the zplug issues
ZPLUG Manual 11/21/2016 ZPLUG-DEPTH(5)
See Also
zplug(1)
Synopsis
zplug"username/reponame", depth:10
The word ´package´ refers to the string in the format: "username/reponame".
