Git operations for AI workflow.
cargo install gai-cliOr from source:
cargo install --path .gai <branch> <message>Commits all working changes on a new branch, then switches back to the current branch.
gai feature-login "add login page"
# stages all changes, creates branch "feature-login", commits, switches backgai feature-login "add login page" --stay
# creates branch and stays on it instead of switching back| Flag | Description |
|---|---|
--stay |
Stay on the new branch instead of switching back to the original |