@git-changes
or specific commits with @[commit-hash]
.
When you type @
in chat, you can select “Git Changes” from the menu or type @git-changes
directly. For specific commits, type @
followed by the commit hash (at least 7 characters). Sixth will immediately see the git status, diffs, commit messages, and other relevant information.
I use git mentions constantly when I’m trying to understand code changes or troubleshoot issues introduced by recent commits. Instead of trying to copy and paste diffs or commit logs, I just ask:
@git-changes
mention is perfect when you’re working on changes and want feedback before committing:
@git-changes
)@git-changes
pattern in your text
git status
and git diff
to see all uncommitted changes
@[commit-hash]
)@
followed by a commit hash pattern
git show
and related commands to get information about that commit