You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2016/04/22 21:57:12 UTC

[jira] [Created] (CB-11143) creating app with template using git url new app ends up with .git repository from the template

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