1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

git: remove duplicate file

I ran a `diff git/git_branch_cleanup.nu git/git_branch_cleanup_.nu` and
they are the same.
This commit is contained in:
Eli Flanagan 2021-07-07 10:11:59 -04:00
parent ef65e0ea55
commit aa33a9edb9
No known key found for this signature in database
GPG key ID: 89A9465A259119BF

View file

@ -1,4 +0,0 @@
# Script that remove outdated local branches from a git repo
# More information on this article https://www.techwatching.dev/posts/cleaning-git-branches
git branch -vl '*/*' | lines | split column " " BranchName Hash Status --collapse-empty | where Status == '[gone]' | each { git branch -D $it.BranchName }