aboutsummaryrefslogtreecommitdiffstats
path: root/gemlog-new
diff options
context:
space:
mode:
Diffstat (limited to 'gemlog-new')
-rwxr-xr-xgemlog-new6
1 files changed, 6 insertions, 0 deletions
diff --git a/gemlog-new b/gemlog-new
index 94f5154..34f15f2 100755
--- a/gemlog-new
+++ b/gemlog-new
@@ -118,6 +118,12 @@ main() {
update_index
edit_post
+
+ {
+ cd "$GEMINI_HOME"
+ git add "$GEMLOG_INDEX" "$_new_post_filename"
+ git commit && git push
+ }
}
main "$@"