Developer Tools
Francesco ChiaramonteFrancesco Chiaramonte
Home   >   CommitGPT

“Commitgpt” is a tool that uses ChatGPT to produce commit messages for developers automatically. Users can start it off by typing “npx commitgpt” into their terminal, with the “-c” flag providing the option to format the commits conventionally.

Users must enter their OpenAI session token during the application’s first run. This token can be obtained by visiting, logging in, and then copying the value of the cookie labelled “__Secure-next-auth.session-token” from the console. The “git diff –cached” command, which records the changes to be committed, is used to operate the tool. These modifications are then sent to ChatGPT, which suggests commit messages in response to the differences. Users are given these recommendations, allowing them to select the best commit description.

User object:

  • Software Developers
  • Git Users
  • DevOps Engineers
  • Code Reviewers
  • Open Source Contributors
  • Project Managers
  • Technical Writers

>>> Use ChatGPT Free Online to make your work more convenient


Francesco Chiaramonte

Francesco Chiaramonte is renowned for over 10 years of experience, from machine learning to AI entrepreneurship. He shares knowledge and is committed to advancing artificial intelligence, hoping that AI will drive societal progress.