Skip to content

Commands

twig provides five focused subcommands. For anything else, enable passthrough to forward to git transparently.

Command Alias Description
twig goto g Switch branches with a TUI picker, or jump to a branch by name
twig save s Commit with a guided TUI wizard or flags
twig push ps Push the current branch to origin
twig root rt Print the repo root path
twig prune pr Clean up stale local branches

Global flags

Flag Description
--config <path> Use a config file at a custom path
--help Show help
--version Print twig version