nemisj / git-removed-branches

Git: List or remove local tracked branches, which are deleted from the remote.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Command failed: git ls-remote -h

mreduar opened this issue · comments

When I run the command npx git-removed-branches -r it gives an error and shows me nothing more than that.
I am on Windows 10

npx git-removed-branches -r
Error: Command failed: git ls-remote -h

    at ChildProcess.exithandler (node:child_process:398:12)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

Flag -r means that you have to specify remote. Now you provide an empty field to it, like npx git-remove-branches -r origin
I will create a better logging for it.

added extra check in 2.1.0