summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-rm2
-rwxr-xr-xgit-urm2
2 files changed, 4 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
diff --git a/git-urm b/git-urm
new file mode 100755
index 0000000..ad74dcc
--- /dev/null
+++ b/git-urm
@@ -0,0 +1,2 @@
+#! /bin/sh
+git status -s | grep -e '^ D' | gawk '{print $2 }' | xargs -r git checkout