tobiastimm / code-theme-converter

Convert any Visual Studio Code Theme to Sublime Text 3 or IntelliJ IDEA
MIT License
138 stars 11 forks source link

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

Open VergeDX opened 2 years ago

VergeDX commented 2 years ago

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.

FlawlessDeveloper commented 2 years ago

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