Skip to main content
Commands are special phrases that control how Gitar behaves. Unlike regular comments to the Gitar agent, commands must match exactly as shown below (case insensitive).

Display Mode

Control how much detail you see in the Gitar dashboard comment. The default is compact mode.
CommandDescription
gitar display:verboseShow all rules including those that don’t apply, with explanations
gitar display:compactShow only relevant rules (default behavior)
Your display preference persists across comment updates. The footer shows a hint for the opposite command. Compact mode (default) shows only applicable rules with a summary of how many were hidden: Verbose mode shows all rules with explanations for why each rule doesn’t apply:

Auto-Apply Control

Control whether Gitar automatically applies fixes:
CommandDescription
gitar auto-apply:onEnable automatic fix application
gitar auto-apply:offDisable automatic fixes (review only)
The dashboard comment displays the current auto-apply status.