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.
2 parents 106fb5d + 6afccc3 commit 7a3e73aCopy full SHA for 7a3e73a
docs/advanced_git_commands.md
@@ -0,0 +1,4 @@
1
+# New commands
2
+
3
+### Delete local branches that don't exist in the remote anymore
4
+git fetch -p ; git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d
0 commit comments