1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-31 14:17:45 +00:00

🩹 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
This commit is contained in:
Auca Coyan 2024-09-22 17:15:37 -03:00 committed by GitHub
parent 189bf3a706
commit da307d0864
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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