zplug-depth(5)

The number of commits to include in the cloned repository

Section 5 zplug bookworm source

Description

ZPLUG-DEPTH

NAME

zplug-depth - The number of commits to include in the cloned repository

SYNOPSIS

zplug "username/reponame", depth:10

The word ´package´ refers to the string in the format: "username/reponame".

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.

Table 1. zplug detph tag

Image grohtml-20008-1.png

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

SEE ALSO

zplug(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.

AUTHORS

zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). Many people have contributed to it.

COPYING

Copyright (C) 2015-2016 Masaki Ishiyama

MIT License

REPORTING BUGS

Report bugs to the zplug issues

See Also