Commit and push straight from the chat

interactive session

// what it does

/commit-and-push has Grok stage changes, write a commit message from the diff, and push to the remote — all without leaving the session. It is the interactive twin of the grok git commit-and-push subcommand.

// shell

$ /commit-and-push

// gotcha

It pushes to the current branch's upstream without a separate confirmation, so run it on a feature branch rather than directly on main unless you intend to publish immediately. Review the generated message if your team cares about commit hygiene.

// resources