Skip to content

GitCopilot is an AI-powered Git CLI tool that automates your daily Git workflow

Notifications You must be signed in to change notification settings

subhamyadav580/GitCopilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitCopilot

GitCopilot is an AI-powered Git CLI tool that automates your daily Git workflow:

  • Finds Git repositories on your system
  • Lets you select a repository interactively
  • Detects unstaged changes
  • Generates meaningful commit messages using an LLM
  • Commits and pushes changes safely

All with one command.

Key Features

  • Single command: gitcopilot init
  • Interactive repository selection
  • Automatic detection of unstaged files
  • AI-generated commit messages
  • Safe staging, commit, and push
  • Works from any directory
  • No config files or secrets stored
  • Uses existing Git & environment setu

Installation

Prerequisites

  • Python 3.9+
  • Git installed and configured
  • OpenAI API key

Set the API key in your environment (GitCopilot reads it automatically):

export OPENAI_API_KEY=sk-xxxx

You can add this to your ~/.zshrc or ~/.bashrc to avoid setting it every time.

Install GitCopilot

Install directly from GitHub:

pip install git+https://github.com/subhamyadav580/GitCopilot.git

Verify installation:

which gitcopilot
gitcopilot --help

Usage

Run GitCopilot from any directory:

gitcopilot init

About

GitCopilot is an AI-powered Git CLI tool that automates your daily Git workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages