Skip to content

Commit

Permalink
🩹 fix git init --initial-branch string instead of bool (#959)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AucaCoyan authored Sep 22, 2024
1 parent 189bf3a commit da307d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom-completions/git/git-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da307d0

Please sign in to comment.