-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Labels
bugSomething isn't workingSomething isn't workinggitrelated to git version control tool (incl. git-bash)related to git version control tool (incl. git-bash)settingside-settings repo and replated processes and featureside-settings repo and replated processes and featuressetuprelated to the setup process of devonfw-ide (setup[.bat] and devon ... setup)related to the setup process of devonfw-ide (setup[.bat] and devon ... setup)
Description
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:
ide/scripts/src/main/resources/scripts/functions
Line 1262 in 15e75c0
| doRunCommand "git checkout ${git_opts} ${branch}" |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggitrelated to git version control tool (incl. git-bash)related to git version control tool (incl. git-bash)settingside-settings repo and replated processes and featureside-settings repo and replated processes and featuressetuprelated to the setup process of devonfw-ide (setup[.bat] and devon ... setup)related to the setup process of devonfw-ide (setup[.bat] and devon ... setup)