prbuddy
v1.0.4
Published
A utility to get the diff between two git commits, and store it as a file. To be used with the prbuddy web app.
Downloads
3
Readme
prbuddy
prbuddy
is a utility to get the diff between two git commits and store it as a file. Designed to be used with the prbuddy web app.
Installation
Install prbuddy
locally in your project using npm:
npm install prbuddy
Usage
After installation, you can use prbuddy
in your project as follows:
prbuddy commit1 commit2
Replace commit1 and commit2 with the actual commit hashes you want to compare. The git diff output will be stored in a file in the current directory.
Options
- commit1: The first commit hash.
- commit2: The first commit hash.
- outputPath: (Optional) The path to store the git diff output file. If not specified, the default file name is prbuddy-diff.txt.
Examples
prbuddy abc123 def456
This command compares the changes between commits abc123 and def456 and stores the output in the default file prbuddy-diff.txt.
License
This project is licensed under the MIT License - see the LICENSE file for details.