Skip to content

Makes it easier and more developer friendly to use git on your terminal

License

Notifications You must be signed in to change notification settings

Harshil-Jani/git-ll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-ll: Lazy Llama

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.

Features

  • 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.

Installation

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 [email protected]: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.

Available commands:

  • git-ll ask "How to merge two branches in git?"
  • git-ll diff <commit-1 : optional> <commit-2: optional>
  • git-ll add . OR git-ll add all OR git-ll add
  • git-ll commit
  • git-ll checkout OR git-ll checkout local OR git-ll checkout remote
  • git-ll delete

Flexing my tool

Asking a doubt to llama3.1

Screenshot 2024-08-15 at 5 40 11 PM

Automatically generating a commit message

Screenshot 2024-08-16 at 1 21 18 AM

Adding the file to staging with checkboxes that makes it easier to use

Screenshot 2024-08-16 at 1 20 30 AM

Analysing the difference between the two commited changes (or you can just ask difference between current change and HEAD)

Screenshot 2024-08-16 at 1 16 18 AM

Checkout to different branches quickly without having to worry about typing or copying full name

Screenshot 2024-08-16 at 1 18 31 AM

Delete more than one branches at a time without even typing the name

Screen.Recording.2024-08-16.at.1.19.22.AM.mov

Contributing

We welcome contributions to git-ll! Please feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License.

About

Makes it easier and more developer friendly to use git on your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages