Can not pass validation when I add new app

Hi there
I try to add a new app. I got that error. There is the same error for a dev branch. I mean I select in “
Scan another branch” the dev branch but I got master in error.

Git clone repository
=> git "init"
=> git "remote" "add" "origin" "git@bitbucket.org:allmax-team/savl-mobile.git"
=> git "fetch"
=> git "checkout" "master"
Checkout failed, error: error: pathspec 'master' did not match any file(s) known to git.

Retry with fetching tags...
=> git "fetch" "--tags"
=> git "checkout" "master"
Checkout failed, error: error: pathspec 'master' did not match any file(s) known to git.

Failed, error: error: pathspec 'master' did not match any file(s) known to git.

|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | Git Clone Repository (exit code: 1)                           | 8.19 sec |
+---+---------------------------------------------------------------+----------+
| Update available: 3.4.3 -> 4.0.7                                             |
| Issue tracker: https://github.com/bitrise-io/steps-git-clone/issues          |
| Source: https://github.com/bitrise-io/steps-git-clone                        |
+---+---------------------------------------------------------------+----------+

Hi @AVKarelin,

Sorry for the delay!

Based on the log it seems you might not have a master branch in your repository.

Is it possible that this is e.g. a completely new & empty repository?

I got an answer from support

We had an issue in the website, which made impossible to set the branch correctly on the scanner page, it is fixed now. Please try again
1 Like

And Yes, we dont have the master branch. But
"There is the same error for a dev branch. I mean I select in “
Scan another branch” the dev branch but I got master in error."

Got it, so it got resolved, right? Closing it - thanks for reporting and sorry for the inconvenience!

This topic was automatically closed after 13 days. New replies are no longer allowed.