Closed SevenOutman closed 2 years ago
Hi @SevenOutman, thanks for reporting your issue.
Your guess is probably right. If you don't mind, can you share the output of git remote
and git branch -r
(probably just a part of them)?
Sure. They are pasted below
Thanks for providing the info. Yeah that function needs to change to cover all the origins. Are you interested in contributing? If not, it's okay. I can work on this next week if it's okay with you.
I'm glad to help but I happen to be having a whole week off next week 😹.
Fixed in v0.24.3
:)
Describe the bug After run
npx shipjs setup
, the "What is your base branch?" prompt appears but the options to select are displaying branch names not complete, but seeming to be trimmed of several leading letters.To Reproduce Steps to reproduce the behavior:
npx shipjs setup
Expected behavior Showing complete branch names
Screenshots
Environment (please complete the following information):
node -v
: v14.18.1npm -v
oryarn -v
: npm 6.14.15Additional context: I have multiple origins configured. Looks like it's the possible cause. https://github.com/algolia/shipjs/blob/main/packages/shipjs-lib/src/lib/git/getRemoteBranches.js#L14