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:
Checkout to the branch you want to compare.
- Fetches git differences.
- Summarizes the differences using selected OpenAI models.
- Supports various OpenAI models with token constraints.
To run the tool without installing:
npx summarize-diff
Or, install it globally:
npm install -g summarize-diff
Then run:
summarize-diff
-
--reset
: Removes all saved values. -
--model
: Change the OpenAI model. -
--help
: Display help for commands.