summaryrefslogtreecommitdiffstats
path: root/git-rm
diff options
context:
space:
mode:
Diffstat (limited to 'git-rm')
-rwxr-xr-xgit-rm2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-rm b/git-rm
new file mode 100755
index 0000000..d7dd4c9
--- /dev/null
+++ b/git-rm
@@ -0,0 +1,2 @@
+#! /bin/sh
+git status -s | grep -e '^ D' | gawk '{print $2 }' | xargs -r git rm