We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e868eb8 commit e9c661aCopy full SHA for e9c661a
.github/clear-local-branches.ps1
@@ -0,0 +1,2 @@
1
+# Delete local branches that no longer exists on remote (windows command line)
2
+git branch -vv | Where-Object { $_ -match 'gone\]' } | ForEach-Object { $_.Trim().Split()[0] } | ForEach-Object { git branch -D $_ }
0 commit comments