Skip to content

Commit 5bb6896

Browse files
authored
feat: add note about new branch_name token (#39)
1 parent 25d0dfb commit 5bb6896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/docs/features/virtual-branches/commits.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Custom prompts can contain three variables which we will replace with the approp
6565
- `%{emoji_style}` - Instructs the LLM whether or not to make use of [GitMoji](https://gitmoji.dev) in the title prefix, based on your settings.
6666
- `%{brief_style}` - Instructs the LLM to not exceed 1 sentence when generating the commit message.
6767
- `%{diff}` - The contents of the diff.
68+
- `%{branch_name}` - The name of the current branch. Available in "Commit Message" custom prompt only.
6869

6970
## Absorbing New Work
7071

0 commit comments

Comments
 (0)