Commit Diff


commit - 10732b38fae41766d68a2081d11bbb73ef69479c
commit + 9c9692773423fadea7ef1eddf583b5957a30c5a1
blob - 3bc9787c3fa1ead1dfb12fb1c4b63edd127e9051
blob + b2278f1c0654b5b983a9e2f2c34c77ad05e561b7
--- README.md
+++ README.md
@@ -115,9 +115,10 @@ $ man ffmpeg \
     | cogni -T 300 -s "Create a cheatsheet given a man page. Output should be in Markdown, and should be a set of example usages under headings." \
     > cheatsheet.md
 
-# Catchup after long hiatus from git repo
-$ git commit -m git show -n 3 \
-    | cogni -s "What was I working on recently?"
+# Create a commit message for staged changes
+$ git diff --staged \
+    | cogni -s "Create a commit message for the given staged changes. Use conventional commit format. Answer in a single-line raw plaintext. Don't use markdown." \
+    | git commit -F -
 ```
 
 ### In Emacs