this post was submitted on 03 Nov 2023
2 points (75.0% liked)

ShareGPT

0 readers
1 users here now

To share LLM text output that others might find interesting.

founded 9 months ago
MODERATORS
 

Hey fellow programmers,

I wanted to share a little experiment I've been conducting lately that has significantly improved my workflow. I've started using AI to generate my Git commit messages, and it's been a game-changer!

By feeding all the changes I've made into a language model with a large context window (LLM), the AI not only generates a concise commit title but also provides bullet points describing each of the changes in precise detail. The level of detail and informativeness it brings to my commit messages is incredible.

I used to spend a considerable amount of time crafting commit messages that accurately captured the essence of the changes I made. Now, with the help of AI, I find myself copy-pasting its generated messages most of the time. It's not just a time-saver; it also ensures that my commits are well-documented and easy to understand for my team members.

If you haven't explored using AI for your Git commits, I highly recommend giving it a try. It can significantly boost your productivity and help you maintain clean and informative version control history. Plus, it's a fascinating intersection of AI and software development!

Have you experimented with similar AI-powered tools for your programming tasks? I'd love to hear your experiences and any recommendations you might have. Let's discuss the future of AI in programming in the comments!

top 3 comments
sorted by: hot top controversial new old
[–] carl_dungeon 2 points 7 months ago (1 children)

Can you give some examples of the output you’re getting?

[–] angrywetnapkin 2 points 7 months ago

Seconded. And you’re okay with giving it all your code..?

[–] voodooattack 1 points 7 months ago

I’ve been thinking of doing this myself. I’m honestly surprised that GitHub’s Copilot doesn’t offer such a feature. I really wanted it to have this.

I’ve considered writing my own tool (or maybe a vscode extension?) using a self-hosted ollama instance with CodeLlama or Mistral as the model.