A command line tool to automatically create pull requests on GitHub
Project description
jit
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.
Features
- Automated PR Creation: Automatically generates PR description, and creates PR on GitHub.
Prerequisites
- Python 3.11 or higher
- Github CLI
Installation
pip install jit-cli
Usage
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
Creating Pull Requests
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 --yolo
flag:
jit push --yolo
Viewing Welcome Message
To view the welcome message and get started:
jit welcome
Uninstallation
pip uninstall jit-cli
Roadmap
-
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! 🏃
Contributing
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.