You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Murat Sutunc (JIRA)" <ji...@apache.org> on 2015/02/20 02:03:26 UTC

[jira] [Created] (CB-8514) cordova platform add wont work if there's no master branch

Murat Sutunc created CB-8514:
--------------------------------

             Summary: cordova platform add <git-repo> wont work if there's no master branch
                 Key: CB-8514
                 URL: https://issues.apache.org/jira/browse/CB-8514
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Murat Sutunc


When adding a platform using:
`cordova platform add <git-repo>`
we assume there's a master branch on the git-repo. If there's no master branch `platform add` will throw:
Unable to fetch platform null@<git-repo>: Error: Command failed: C:\Windows\system32\cmd.exe /s /c "git checkout "master""
error: pathspec 'master' did not match any file(s) known to git.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org