Simple goal is to improve DX (Developer Experience) and make using git more productive on terminal.
git-ll
is a command-line tool that integrates Git with the power of the LLaMA 3.1
language model, providing intelligent assistance for your Git workflow. By leveraging the offline capabilities of the Ollama CLI and Meta's llama3.1 language model, this tool offers a secure and efficient way to generate commit messages, analyze code changes, and receive insightful suggestions directly from your local environment and terminal.
- git running with llama3.1 , power of AI right in your terminal.
- Comprehensive Diff analysis with AI-driven explanations and insights.
- Craft concise and informative commit messages based on your code changes.
- Ask your doubts for git, right in your terminal
- Automate deleting a group of branches.
- Easily stage the files from local to staging.
- Checkout faster between multiple branches.
Note : rust crate and homebrew coming soon but for now, I am just supporting local installation via git.
Make sure you already have git configured in your terminal and ollama too (only if you use AI powered features)
git clone git@github.com:Harshil-Jani/git-ll.git
cd git-ll/
cargo build --release
cargo install --path .
Must : Ollama CLI installed and configured with LLaMA 3.1 model. Must : git CLI should be configured.
git-ll ask "How to merge two branches in git?"
git-ll diff <commit-1 : optional> <commit-2: optional>
git-ll add .
ORgit-ll add all
ORgit-ll add
git-ll commit
git-ll checkout
ORgit-ll checkout local
ORgit-ll checkout remote
git-ll delete
Analysing the difference between the two commited changes (or you can just ask difference between current change and HEAD)
Screen.Recording.2024-08-16.at.1.19.22.AM.mov
We welcome contributions to git-ll! Please feel free to open issues or submit pull requests.
This project is licensed under the MIT License.