The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

nuggit fetch

SYNOPSIS

nuggit fetch

Fetch commits, branches, and tags. The parallel flag is automatically utiliazed (-j8) to speed up results when recursing into submodules.

This will fetch all commits and recurse into submodules on-demand when their references have been updated. Specify "--branch-first" to unconditionally fetch in all submodules.

OPTIONS

--help

Display abbreviated usage information.

--man

Display the manual page.

--recurse-submodules -yes|no|on-demand, --ngtstrategy, --branch-first

The default behavior of 'ngt fetch' is to recurse into submodules on-demand when a commit is retrieved with an updated submodule reference in the parent repository. This can be overridden to always recurse with "--recurse-submodules=yes" as a pass-through to the native git command, or using the standard Nuggit Strategy argument for '--branch-first' or '--ngtstrategy=branch'.

--all

Fetch is performed against the default remote by default. If multiple remotes have been defined, specify '--all' to fetch from all remotes.

--prune

Specify "--prune" to enable detection and removal of branches that have been removed on the remote. Note this only affects remotes/* entries, and will never prune branches that have been checked out locally.