code-theme-converter icon indicating copy to clipboard operation
code-theme-converter copied to clipboard

[bug] Cannot git checkout repo which only has the branch main.

Open VergeDX opened this issue 4 years ago • 1 comments

When I use code2idea, I found it can convert https://github.com/tobiastimm/raiju but cannot convert https://github.com/rose-pine/vscode, the the error message is cannot do git checkout: Trace: Error: 'git clone' failed with status 128.

I think we should not hardcode "master" in code, provide a args to checkout branch or tags is good. It also can use the default branch when git clone, the extra git checkout command is unnecessary.

VergeDX avatar Aug 27 '21 02:08 VergeDX

Its a upstream issue. You can append #branch-name to your github url, which will pull from this branch

FlawlessDeveloper avatar Mar 27 '22 03:03 FlawlessDeveloper