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