dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

git bclean reports an error if there are no branches to remove

Open fnf-peter-lacomb opened this issue 2 years ago • 2 comments

Update the final command to xargs -r git branch -d (passing -r to xargs so as not to run the command if the input is empty) to resolve.

On windows anyway - ymmv

fnf-peter-lacomb avatar Feb 02 '23 19:02 fnf-peter-lacomb

BTW - Been using these aliases for nearly 10 years now. Thanks for sharing.

fnf-peter-lacomb avatar Feb 02 '23 19:02 fnf-peter-lacomb

Update the final command to xargs -r git branch -d (passing -r to xargs so as not to run the command if the input is empty) to resolve.

Want to submit a PR for that? You can do it through the browser by going here and clicking the edit button (pencil icon).

BTW - Been using these aliases for nearly 10 years now. Thanks for sharing.

:sparkles:

haacked avatar Feb 02 '23 20:02 haacked