summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-07-02 19:33:11 +0300
committerPaul Buetow <paul@buetow.org>2022-07-02 19:33:11 +0300
commitb733f1860f00c61eb33ff33c4368201a4c8161d9 (patch)
treee8c35461bc445e4b57d9fa68566301f84c251a12 /README.md
parent30f00fa694280a7eaa23c20affba22bd14b91739 (diff)
add new git options
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 87c8baf..d0f73ac 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ You will find the `./extras/html/header.html.part` and `./extras/html/footer.htm
## Store all formats in Git
-I personally have for each directory in `../foo.zone-content/` a separate Git repository configured. So whenever something changes I commit and push the content to git.
+I personally have for each directory in `../foo.zone-content/` a separate Git repository configured. So whenever something changes I commit and push the content to git. Gemtexter automatically detects whether a content directory is in git or not (e.g. directories `../foo.zone-content/*/.git` exist). In this case you can use the `./gemtexter --git-add` command to add all files to git and `./gemtexter --git-sync` to sync all content files with the remote repository (which is a Git pull followed by a push). A `./gemtexter --git` will do both, adding and syncing. For a custom commit message can set the `GIT_COMMIT_MESSAGE` environment variable, e.g.: `GIT_COMMIT_MESSAGE='New blog post' ./gemtexter --git`.
## Publishing a blog post