You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot execute git command to checkout a pull request #6124
Running git fetch origin pull/92/head:0.6 on bash shell runs the command successfully, fetching a pull request and storing it in the branch called 0.6 in the command. However, nushell is unable to do this, I have tried adding quotes.
I've seen this many times. I wouldn't be surprised if there was another issue. I'm pretty sure it has to do with the custom completions not accommodating all parameters. I typically put a ^ in front when this happens and it fixes the problem. Long term, the git custom completions need to be updated.
This is because git fetch is being considered as internal command, if you check out config nu from terminal, you should see a custom command extern "git fetch", please try to remove it and it should do the magic
Activity
fdncred commentedon Jul 25, 2022
I've seen this many times. I wouldn't be surprised if there was another issue. I'm pretty sure it has to do with the custom completions not accommodating all parameters. I typically put a
^in front when this happens and it fixes the problem. Long term, the git custom completions need to be updated.Kangaxx-0 commentedon Jul 29, 2022
This is because git fetch is being considered as internal command, if you check out
config nufrom terminal, you should see a custom commandextern "git fetch", please try to remove it and it should do the magicjansol commentedon Nov 1, 2022
git push --force-with-leasealso fails due to the same problem.fdncred commentedon Nov 1, 2022
Yup, every sub command or parameter that isn't implemented in the nushell custom completions will exhibit this same error.