In an devonfw-ide project, I created a feature branch in the settings repository named tomcat to test some tomcat changes in the IDE settings.
I created a new devonfw-ide instance:
devon ide create test-project https://some-git.url/some/path.git#tomcat
This gave me the following error after cloning:
fatal: 'tomcat' could be both a local file and a tracking branch.
Please use -- (and optionally --no-guess) to disambiguate
******** ATTENTION ********
Failed to run command git
We are sorry for the inconvenience. Please check the above errors, resolve them and try again.
Exit code was 128
as it seems git checkout tomcat is not working due to this ambiguity but git switch tomcat did the trick.
So maybe that is all needed to be fixed here:
|
doRunCommand "git checkout ${git_opts} ${branch}" |
In an devonfw-ide project, I created a feature branch in the settings repository named
tomcatto test some tomcat changes in the IDE settings.I created a new devonfw-ide instance:
This gave me the following error after cloning:
as it seems
git checkout tomcatis not working due to this ambiguity butgit switch tomcatdid the trick.So maybe that is all needed to be fixed here:
ide/scripts/src/main/resources/scripts/functions
Line 1262 in 15e75c0