From 13c152b00fcac801d225b2b7aab5f4aa4ace7383 Mon Sep 17 00:00:00 2001 From: pwygab <88221256+merelymyself@users.noreply.github.com> Date: Thu, 23 Jun 2022 18:19:11 +0800 Subject: [PATCH] finish git fetch custom completions (#5859) --- docs/sample_config/default_config.nu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sample_config/default_config.nu b/docs/sample_config/default_config.nu index 5c5c0a3228..7faf59c836 100644 --- a/docs/sample_config/default_config.nu +++ b/docs/sample_config/default_config.nu @@ -16,7 +16,8 @@ module completions { # Download objects and refs from another repository export extern "git fetch" [ - repository?: string@"nu-complete git remotes" # name of the branch to fetch + repository?: string@"nu-complete git remotes" # name of the repository to fetch + branch?: string@"nu-complete git branches" # name of the branch to fetch --all # Fetch all remotes --append(-a) # Append ref names and object names to .git/FETCH_HEAD --atomic # Use an atomic transaction to update local refs.