I used to spend extra time writing detailed comments in my Git commits.
Not just about what changed, but why — so my team could learn from the reasoning behind my code. It also serves as a reference for my future self.
Not just about what changed, but why — so my team could learn from the reasoning behind my code. It also serves as a reference for my future self.
Fast forward to today.
Most of my code is written with AI now. I now add the prompts I used as comments in my Git commits. That way, it doesn’t just record the code changes — it records the conversation that shaped it.
Sometimes, when I use Gemini to recall the prompts from a coding session, it even shows me the initial prompt that Gemini CLI sends to the LLM. Like catching a glimpse behind the scenes of how it works.
To me, Git commits are no longer just about documenting code. They’re becoming a record of collaboration with AI.
And here’s another thought. This evolving Git history — code plus prompts — could become valuable training data to improve the next generation of coding LLMs.
What do you think? Do you add your prompts to your Git commits?
—
I share practical tips about business, marketing and AI
🔔 Follow me to learn more!
♻️ Re-post this to help others!
🔖 Save this for future reference!
💬 DM me for collaboration!
#GenAI #SoftwareDevelopment #Git #Coding #VibeCoding
Enjoyed this? Subscribe for more.
Practical insights on AI, growth, and independent learning. No spam.
More in Vibe Coding
What Publishers Think About AI Image Generation
I couldn’t find the original source of the meme—happy to credit the author if anyone knows the source.
Claude Code is for software developers, and OpenClaw is more for business users.
A learner said this to another learner during a recent workshop. I think this is the most common and most dangerous misconception about these two tools.
I finally went down the rabbit hole.
After resisting for months, I subscribed to Claude Max 20x.
3 months ago I posted "Vibe coders, this will happen to you sooner or later."
The post went viral:
Hitting your AI coding usage limit feels like reaching the climax of a drama series and having to...
You’re full of ideas, but suddenly on hold until next day.
Vibe coding is a double-edged sword.
In the wrong hands, it's a security nightmare. In the right hands, it's a powerful security assistant.
What Publishers Think About AI Image Generation
I couldn’t find the original source of the meme—happy to credit the author if anyone knows the source.
3 months ago I posted "Vibe coders, this will happen to you sooner or later."
The post went viral:
Claude Code is for software developers, and OpenClaw is more for business users.
A learner said this to another learner during a recent workshop. I think this is the most common and most dangerous misconception about these two tools.
I finally went down the rabbit hole.
After resisting for months, I subscribed to Claude Max 20x.
Hitting your AI coding usage limit feels like reaching the climax of a drama series and having to...
You’re full of ideas, but suddenly on hold until next day.
Vibe coding is a double-edged sword.
In the wrong hands, it's a security nightmare. In the right hands, it's a powerful security assistant.