From da307d0864a460843cd652c690d5fadf0218e244 Mon Sep 17 00:00:00 2001 From: Auca Coyan Date: Sun, 22 Sep 2024 17:15:37 -0300 Subject: [PATCH] :adhesive_bandage: fix `git init --initial-branch` string instead of bool (#959) Just using the completions I realized that: ```nu # Create a new git repository export extern "git init" [ --initial-branch(-b) # initial branch name #should be --initial-branch(-b): string # initial branch name ] ``` because initial branch takes a string, it not a boolean --- custom-completions/git/git-completions.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-completions/git/git-completions.nu b/custom-completions/git/git-completions.nu index 8752045c..806c5159 100644 --- a/custom-completions/git/git-completions.nu +++ b/custom-completions/git/git-completions.nu @@ -537,7 +537,7 @@ export extern "git stash drop" [ # Create a new git repository export extern "git init" [ - --initial-branch(-b) # initial branch name + --initial-branch(-b): string # initial branch name ] # List or manipulate tags