`gt create -m "foo" my-branch-name` is suddenly do...
# report-bugs
t
gt create -m "foo" my-branch-name
is suddenly doing weird behavior where it doesn't use my branch name ... it's meshing it together with an auto-generated name like
04-03-_foo-my-branch-name
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
t
➜ gt --version 1.6.1
more data: it's including my provided branchname in the commit message.
p
Sorry for the late response - we had an offsite last week and are still catching up. So we've been investigating this and it looks like an issue with how
yargs
processes arguments... In the meantime, you should switch the order to
gt create branch-name -m "commit-message"
. I know it's not ideal - we are still investigating. Will let you know when this gets resolved.
🔀 1
Hey! Made a mistake yesterday - the order of args should be
gt create branch-name -m "commit-message"
. I edited my above message for posterity. The “branch name” needs to be before the “-m” flag. Once yargs sees “-m”, it considers everything after that to be part of the message. Sorry for the confusion!
👍 1