Skip to content

Rtx09x/supergit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

supergit

supergit is a small Go CLI for common Git workflows. It stays close to native Git, but wraps the sharp edges in faster commands, plain-English prompts, and safer defaults.

Run supergit with no arguments to open an interactive terminal menu. Use direct commands when you already know what you want to do.

Command Set

  • supergit init: initialize a repository here and configure Git name/email if missing
  • supergit status: show the current branch and working tree changes
  • supergit commit: auto-recover missing repo/config, stage all changes, prompt for a message, then optionally publish
  • supergit sync: handle dirty trees with guided commit or stash flows, then pull/push or publish
  • supergit branch [name]: switch branches or create a new one
  • supergit undo: undo the last commit safely

Design Rules

  • small binary
  • no heavy framework dependency
  • native git remains the execution engine
  • destructive operations always require confirmation unless --yes is passed
  • output should explain what went wrong in plain English
  • common fallback paths should be guided automatically instead of throwing raw Git errors

Build

go build -o supergit.exe .

Install

New-Item -ItemType Directory -Force -Path "$HOME\\go\\bin" | Out-Null
Copy-Item .\\supergit.exe "$HOME\\go\\bin\\supergit.exe" -Force

$HOME\\go\\bin is a common user-level PATH location for Go tools on Windows.

Examples

supergit
supergit init
supergit init --name "Ada Lovelace" --email "ada@example.com"
supergit status
supergit commit -m "finish onboarding flow"
supergit sync
supergit branch feature/cleanup
supergit undo

About

supergit is a lightweight terminal Git assistant that simplifies everyday workflows like init, commit, sync, branch switching, and undo with guided prompts, safer defaults, and plain-English recovery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages