Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
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