2 min read 258 words
2024-34
Step 1: Basic commit
git add -A && git commit -m "Update"
Step 2: Interactive commit message
git add -A && read -p "Commit message: " msg && git commit -m "$msg"
Step 3: LLM-generated messages
git add -A && diff=$(git diff --cached) && msg=$(echo "$diff" | llm -m "gpt-4o-mini" -s "Generate 5 commit messages") && echo "$msg" && read -p "Commit message: " selected && git commit -m "$selected"
Step 4: Interactive selection with fzf (Final version)
git add -A && diff=$(git diff --cached) && msg=$(echo "$diff" | llm -m "gpt-4o-mini" -s "Generate 5 commit messages") && selected=$(echo "$msg" | fzf --prompt="Pick a message:") && git commit -m "$selected"
Projects Worked On
Connectology
Working on getting my local demo switched over to using supabase for storing nodes, edges, and doing basic auth. Its been a real slog, all of that shit is actually really complicated, it turns out. But hopefully it will be easier the next time.
I’ve been trying to work on little joy-based details like animations, transitions, and helpful defaults but instead I am stuck recreating the basics with a remote database. Thats okay I guess. I think I need to be more disciplined in my refactors and how I spend my time.