From aa33a9edb97b9dff647e4f92821b971bce3948fe Mon Sep 17 00:00:00 2001 From: Eli Flanagan Date: Wed, 7 Jul 2021 10:11:59 -0400 Subject: [PATCH] git: remove duplicate file I ran a `diff git/git_branch_cleanup.nu git/git_branch_cleanup_.nu` and they are the same. --- git/git_branch_cleanup_.nu | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 git/git_branch_cleanup_.nu diff --git a/git/git_branch_cleanup_.nu b/git/git_branch_cleanup_.nu deleted file mode 100644 index b87d7ba..0000000 --- a/git/git_branch_cleanup_.nu +++ /dev/null @@ -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 } \ No newline at end of file