Git helper with interactive rebase/reset and AI wip commits.
Basically written by Cursor.
# Setup
export OPENAI_API_KEY='your-key'
cargo build --release
# Commands
lgit save # stage all and wip commit with ai summary
lgit rebase # select a recent commit to start an interactive rebase
lgit reset # select a recent commit to reset to