jit is a command-line tool designed to automate the process of creating pull requests for your projects. It integrates with git, and GitHub CLI and leverages local language models to generate meaningful PR descriptions based on your commits and diffs.
- Automated PR Creation: Automatically generates PR description, and creates PR on GitHub.
- Python 3.11 or higher
- Github CLI
pip install jit-cli
Once jit is installed, you need to download the LLM model.
jit pull-model
NOTE: The current model (llama3) is about ~4.7GB, so this step will take some time
To create a pull request (draft) for the current branch:
jit push
To skip the draft stage and create a live pull request, use the --skip-draft
flag:
jit push --skip-draft
To view the welcome message and get started:
jit welcome
pip uninstall jit-cli
-
Add mark as draft featureMark PRs as draft by default and add flag to bypass 📝 - Add PR template compatibility 🧑🍳
- Make installable using a package manger (no more cloning 🎉)
- Add tests 🧪
- More to come! 🏃
Contributions to jit are welcome! Please refer to the CONTRIBUTING.md file for more details on how to submit pull requests, report issues, or make feature suggestions.