• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

I've just released git-gpt-commit v0.9.0! ?

Lomanu4 Оффлайн

Lomanu4

Команда форума
Администратор
Регистрация
1 Мар 2015
Сообщения
1,481
Баллы
155
I've just released

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

— a Git extension that uses OpenAI's GPT models to automatically generate commit messages via the git gpt commit command.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



What’s New in v0.9.0 ✨

? Support for GPT-4o


The default model has been upgraded to OpenAI’s GPT-4o.
This model is known for its blazing-fast response speed (about twice as fast as GPT-4.1), allowing it to generate commit messages in an instant.
It’s also very cost-efficient, at half the price of GPT-4-turbo.

? Language Selection Command


Previously, only English was supported. Now, with:


git gpt lang

You can choose from 12 languages for your commit messages:
English, Spanish, Japanese, French, German, Italian, Korean, Chinese (Simplified & Traditional), Dutch, Russian, and Brazilian Portuguese.

?️ Prefix Toggle Command


Previously, there was no option to add prefixes to your commits. Now, with:


git gpt prefix

You can toggle the inclusion of commit prefixes like feat:, fix:, or refactor:.

? API Key Management


Previously, you had to write your API key in a .env file in your project directory. Now, with:


git gpt open-api-key


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.



You can now safely add and manage your OpenAI API key directly from the CLI.
The traditional .env method is still supported as well.

⚙ Configuration Management


git gpt config

You can now view all your current settings at once.
Checking and updating configuration has never been easier.

How to Use


Once installed, start by registering your OpenAI API key using the command above.

Then, just stage your changes with git add, and run:


git gpt commit

The tool will analyze the staged changes, send them to the GPT model, and generate a context-aware commit message.
You can accept the suggestion as-is or cancel and write your own message if you'd prefer.

Installation


You’ll need an OpenAI API key.


npm install -g @laststance/git-gpt-commit
Why I Created git-gpt-commit


While IDEs like VSCode and Cursor offer AI-assisted commit message generation, I couldn’t find a CLI tool that does the same — and that’s where I spend most of my time working with Git.
Sometimes I just don’t feel like coming up with a message, so I wanted to make the process easier ?

Most of the features I personally wanted are now implemented, so I’m pretty happy with this release.
If you have ideas to make it even better, feel free to send a PR — I’d love to see your contributions! ?

Links:

Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.


Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.




Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу