Skip to content

Overview

gcop-rs provides 14 carefully designed git aliases that streamline common tasks:

AliasCommandDescription
git cgcop-rs commitQuick AI-powered commit
git rgcop-rs review <TARGET>AI review of changes
git sgcop-rs statsRepository statistics
git acgit add -A && gcop-rs commitAdd all and commit
git cpgcop-rs commit && git pushCommit and push
git acpgit add -A && gcop-rs commit && git pushAdd, commit, and push
git copgcop-rsMain gcop-rs entry point
git gcommitgcop-rs commitFull command alias
git ghelpgcop-rs --helpShow help
git gconfiggcop-rs config editEdit configuration
git pgit pushQuick push
git pfgit push --force-with-leaseSafer force push
git amendgit commit --amendAmend last commit
git undogit reset --soft HEAD^Undo last commit

Installation

Quick Install

bash
# Install all aliases
gcop-rs alias

# Verify installation
gcop-rs alias --list

During Initial Setup

bash
# The init command will prompt you
gcop-rs init

When prompted "Install git aliases?", select Yes to install all aliases automatically.

Verification

Check installed aliases:

bash
gcop-rs alias --list

Output:

ℹ Available git aliases for gcop-rs:

  git cop        → Main entry point for gcop-rs              [✓ installed]
  git gcommit    → AI commit message and commit changes      [✓ installed]
  git c          → Shorthand for 'git gcommit'               [✓ installed]
  git r          → AI review of unstaged working tree changes [✓ installed]
  ...

See Also