An Interest In:
Web News this Week
- April 3, 2024
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
April 24, 2023 08:04 am GMT
Original Link: https://dev.to/disukharev/opencommit-20-cli-to-generate-impressive-commits-in-1-second-with-gpt-14g3
OpenCommit: CLI to generate impressive commits in 1 second with GPT (v 2.0)
first let's grow my twitter, so i can tell about my inventions quicker and make the world even better place (or not, idk)
A month ago I opensourced OpenCommit.
Previous post got 60k views and 280 likes. Now OpenCommit is 2.6k stars.
I've merged 39 PRs and here is what's new:
- locale support of 10 languages.
- select files you want to stage and commit.
- choose a remote you want to push to.
- OpenCommit now uses tiktoken to accurately count openAI tokens.
- better large diffs splitting (you can commit changes of any size)
- add any
git commit
arguments tooc <...args>
it will be passed togit commit <...args>
. - hook now works on all platforms, run
oc hook set
to integrate OpenCommit into IDE Source Control.
Well this is it so far, thanks to all the contributors <3 Feel free to PR!
How to install OpenCommit
Simply install it globally with npm, to use in any repo:
npm i -g opencommit
After installing type oc
and hit "Enter" in a terminal:
oc
If you want to edit a commit and make OpenCommit to be used by your IDE do:
oc hook set
That's it have fun ;)
Original Link: https://dev.to/disukharev/opencommit-20-cli-to-generate-impressive-commits-in-1-second-with-gpt-14g3
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To