cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-8514) cordova platform add <git-repo> wont work if there's no master branch
Date Wed, 20 Apr 2016 00:34:25 GMT

     [ https://issues.apache.org/jira/browse/CB-8514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikhil Khandelwal updated CB-8514:
----------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>          Components: CordovaLib
>            Reporter: Murat Sutunc
>            Priority: Minor
>
> 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


Mime
View raw message