aboutsummaryrefslogtreecommitdiffstats
path: root/git/ge
diff options
context:
space:
mode:
Diffstat (limited to 'git/ge')
-rwxr-xr-xgit/ge8
1 files changed, 8 insertions, 0 deletions
diff --git a/git/ge b/git/ge
new file mode 100755
index 0000000..4c703e0
--- /dev/null
+++ b/git/ge
@@ -0,0 +1,8 @@
+#!/bin/dash
+
+e "$@"
+git add -- "$@"
+
+if test -f "$(git home)/.git/autosave"; then
+ exec git commit -m 'Autosave'
+fi