I've recently updated to the latest available version 1.6.1 of the CLI, and since then, when creating a branch the custom name is not being kept by the CLI.
Prior to that I was on version 1.5.3 and the creation of branches was working as expected. I'll add a clearer example now:
Using version 1.6.1
My commit message is "test" and gets added as a prefix for my branch, and that can't be disabled. Using gt config I was able to remove the date as the prefix, but there's no way to disable this behaviour which is quite annoying.
It's also important to note that in some scenarios it may even be a breaking change, as people may be relying on branch names to execute certain parts of their CI, or even to run pre-push hooks and this alone can break a whole company setup. The only work around this is to run gt rename for each branch you create, which is super annoying.
Using version 1.5.3
As I mentioned before, if I were to use an older version and run gt create like this:
gt create -am "test" 000-my-branch
I'll see a branch named 000-my-branch created, as one would expect.
Current CLI version
So is this something expected on this version and am I missing some configs to avoid this behaviour? Or is it a bug?
I've recently updated to the latest available version
1.6.1of the CLI, and since then, when creating a branch the custom name is not being kept by the CLI.Prior to that I was on version
1.5.3and the creation of branches was working as expected. I'll add a clearer example now:Using version
1.6.1My commit message is "test" and gets added as a prefix for my branch, and that can't be disabled. Using
gt configI was able to remove the date as the prefix, but there's no way to disable this behaviour which is quite annoying.It's also important to note that in some scenarios it may even be a breaking change, as people may be relying on branch names to execute certain parts of their CI, or even to run pre-push hooks and this alone can break a whole company setup. The only work around this is to run
gt renamefor each branch you create, which is super annoying.Using version
1.5.3As I mentioned before, if I were to use an older version and run
gt createlike this:gt create -am "test" 000-my-branchI'll see a branch named
000-my-branchcreated, as one would expect.Current CLI version
So is this something expected on this version and am I missing some configs to avoid this behaviour? Or is it a bug?