cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-11143) creating app with template using git url new app ends up with .git repository from the template
Date Fri, 22 Apr 2016 19:57:12 GMT
Carlos Santana created CB-11143:
-----------------------------------

             Summary: creating app with template using git url new app ends up with .git repository
from the template
                 Key: CB-11143
                 URL: https://issues.apache.org/jira/browse/CB-11143
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
            Reporter: Carlos Santana
            Assignee: Carlos Santana


creating app with template using git url new app ends up with .git repository from the template

this creates a problem when user wants to add new app to git, since there is already a .git
there.

Also having the git history of a template is something that a template provider doesn't want.

to reproduce

👻  $ cordova create myapp --template https://github.com/apache/cordova-app-hello-world.git
Creating a new cordova project.
Retrieving https://github.com/apache/cordova-app-hello-world.git using git...
Repository "https://github.com/apache/cordova-app-hello-world.git" checked out to git ref
"master".
/tmp
👻  $ ls myapp/.git
HEAD        config      hooks       info        objects     refs
branches    description index       logs        packed-refs



--
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