gix is a Git extension CLI tool designed to simplify your Git workflows — especially for merging commits and force pushing, with safety and clarity.
- 🔧 Interactively merge multiple Git commits
- 💬 Custom commit message input
- 🚦 Confirm force push automatically
- ♻️ Reset local commits to remote (soft)
- 🧱 Fully typed, powered by TypeScript
- 🔌 Modular command system — more to come
npm install -g gix-cli
Then use it globally:
gix merge
gix merge
Follow the prompts to:
- Select start and end commits
- Write a new commit message
- Optionally force-push
Or directly:
gix merge -f <from> -m "your message"
gix squash -n 3 # squash last 3 commits
gix squash --all # squash all history from root
gix doctor
- Check git & node version
- Git repo state
- Working directory clean?
- Remote & branch info
gix reset
- Soft reset to origin/branch
- Keeps all local file changes
- Removes unpushed commits only
MIT © 2025 Li Kai