nushell / nu_scripts

A place to share Nushell scripts with each other
MIT License
771 stars 230 forks source link

:adhesive_bandage: fix `git init --initial-branch` string instead of bool #959

Closed AucaCoyan closed 1 month ago

AucaCoyan commented 1 month ago

Just using the completions I realized that:

# 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

fdncred commented 1 month ago

Thanks