summarize-diff
v1.7.4
Published
Summarize Diff is a tool that leverages OpenAI models to summarize git differences. It aids developers in quickly understanding code changes and is particularly useful for crafting PR descriptions.
Downloads
72
Maintainers
Readme
Summarize Diff
Summarize Diff is a tool that leverages OpenAI models to summarize git differences. It aids developers in quickly understanding code changes and is particularly useful for crafting PR descriptions.
Demo:
Prerequisite
Checkout to the branch you want to compare.
Features
- Fetches git differences.
- Summarizes the differences using selected OpenAI models.
- Supports various OpenAI models with token constraints.
Usage
To run the tool without installing:
npx summarize-diff
Or, install it globally:
npm install -g summarize-diff
Then run:
summarize-diff
Options:
--reset
: Removes all saved values.--model
: Change the OpenAI model.--help
: Display help for commands.