Skip to content

Gazi2050/gli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 
                                       ██████╗ ██╗     ██╗
                                      ██╔════╝ ██║     ██║
                                      ██║  ███╗██║     ██║
                                      ██║   ██║██║     ██║
                                      ╚██████╔╝███████╗██║
                                       ╚═════╝ ╚══════╝╚═╝

A git wrapper for minimal developers

gli is a CLI tool that makes Git simpler. Generate commit messages with AI, manage branches, and look up GitHub profiles — right from your terminal.

Table of Contents

Installation

Download the appropriate binary from the latest release, extract it, then follow the commands below for your platform.

Use <version> as the release tag (for example v0.0.8).


Linux

Install (amd64)

sudo mv gli_<version>_linux_amd64 /usr/local/bin/gli && sudo chmod +x /usr/local/bin/gli

Install (arm64)

sudo mv gli_<version>_linux_arm64 /usr/local/bin/gli && sudo chmod +x /usr/local/bin/gli

Checksum (recommended)

sha256sum gli_<version>_linux_amd64
sha256sum gli_<version>_linux_arm64

Compare output with checksums.txt from the release.

Verify installgli version

Uninstall

sudo rm /usr/local/bin/gli

macOS

Install (amd64)

sudo mv gli_<version>_darwin_amd64 /usr/local/bin/gli && sudo chmod +x /usr/local/bin/gli

Install (arm64)

sudo mv gli_<version>_darwin_arm64 /usr/local/bin/gli && sudo chmod +x /usr/local/bin/gli

Checksum (recommended)

shasum -a 256 gli_<version>_darwin_amd64
shasum -a 256 gli_<version>_darwin_arm64

Compare output with checksums.txt from the release.

Verify installgli version

Uninstall

sudo rm /usr/local/bin/gli

Windows (CMD as Admin)

Install (amd64)

move gli_<version>_windows_amd64.exe C:\Windows\System32\gli.exe

Install (arm64)

move gli_<version>_windows_arm64.exe C:\Windows\System32\gli.exe

Checksum (recommended)

CertUtil -hashfile gli_<version>_windows_amd64.exe SHA256
CertUtil -hashfile gli_<version>_windows_arm64.exe SHA256

Compare output with checksums.txt from the release.

Verify installgli version

Uninstall

del C:\Windows\System32\gli.exe

Features

AI Commit Assistant

Stages all changes, generates an AI commit message, and pushes through a single TUI workflow.

Commands:

  • gli commit — Stage changes, generate AI commit message, and push
  • gli commit --no-verify — Skip git hooks

Status Overview

Show current branch info, ahead/behind counts, file change summary, and last commit.

Commands:

  • gli status — Show branch status, remote, changes, and last commit

Branch Management

List local branches, create new ones with upstream tracking, or switch branches using concise flags.

Commands:

  • gli branch — List all local branches
  • gli branch -c <name> — Create branch and push with upstream
  • gli branch -s <name> — Switch to existing branch

Commit History

Browse commit history with interactive pagination. Navigate with j/k, page up/down, or g/G.

Commands:

  • gli log — Show commit history (Hash, Author, Commit, Date)
  • gli log -n 10 — Show last 10 commits

Reference Log

View the git reflog with the same interactive table. Track checkouts, resets, rebases, and commits.

Commands:

  • gli reflog — Show reference log (Hash, Author, Action, Date)
  • gli reflog -n 10 — Show last 10 reflog entries

Profile Lookup

Display your GitHub profile or any user's profile directly in the terminal.

Commands:

  • gli me — Show your GitHub profile
  • gli profile <username> — Show any GitHub user profile

Command Cheatsheet

Command What it does
gli commit Stage every change, generate an AI commit message, and push (use --no-verify to skip git hooks).
gli status Show current branch, remote, ahead/behind, file changes (modified, new, deleted).
gli branch List all local branches with full names.
gli branch -c <name> Create a new branch, switch to it, and push with upstream tracking in one step.
gli branch -s <name> Switch to an existing branch using a concise flag.
gli log Browse commit history with interactive pagination (Hash, Author, Commit, Date).
gli reflog View reference log with interactive pagination (Hash, Author, Action, Date).
gli me Show the GitHub profile detected from your local git config.
gli profile <username> Display any GitHub user's profile directly in the terminal.

Made with ❤️ for Git users

About

A lightweight Git wrapper that simplifies complex workflows into intuitive terminal commands.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages