DEV Community

Dima Sukharev
Dima Sukharev

Posted on • Edited on

6 5 6 4 5

Master git commits with AI

Ever faced the challenge of crafting the commit message after 5+ files are changed?

Switching from writing code to thinking about commit messages can be a time-consuming distraction. It's all too easy to resort to one-liners like "updates", "bug fix", or "refactoring" and leave a more detailed description for merges.

OpenCommit — open-source CLI that creates commits for you: OpenCommit.

opencommit — a new era of commit messages

OpenCommit leverages the conventional commits convention, ensuring your commit messages are both concise and informative. Want a little fun in your commits? Enable the GitMoji setting!

Getting started is easy. Install OpenCommit via npm:

npm i -g opencommit
Enter fullscreen mode Exit fullscreen mode

Then, simply type oc and press "Enter" in your terminal:

oc
Enter fullscreen mode Exit fullscreen mode

That's it.

Check out the documentation.

opencommit animation

if you also think that this is best lib of the millennium, keep an eye on my future innovations by following me on twitter YOU WILL BE SHOKED

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay