will cb = git checkout -b $(slug "$1") work
- User
will cb = git checkout -b 1") work
Assistant
No, that syntax won't work directly in a Git config alias. In PowerShell, you'd need to use a slightly different approach. Here's a PowerShell-friendly version:
git config --global alias.cb '!powershell -Command "git checkout -b (& slug $args)"'Or in your
.gitconfig:[alias] cb = !powershell -Command "git checkout -b (& slug $args)"
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.