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

jcesarmobile closed CB-4321.
----------------------------
    Resolution: Won't Fix
      Assignee: jcesarmobile

We can't really force users to use our .gitignore, that's up to the user to 
decide.

They shouldn't put the plugins and platforms folders in the git repo, but some 
people might want to do it for their own reasons.

Plugins should be restored from the config.xml if you installed them using 
--save param, same for platforms. But some people do manual changes inside the 
platforms folder because they don't know how to use a hook/plugin that does 
that changes or don't want to do it because it's easier/faster without the 
plugin/hook.

> Supply a sample .gitignore file for projects
> --------------------------------------------
>
>                 Key: CB-4321
>                 URL: https://issues.apache.org/jira/browse/CB-4321
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>            Reporter: Robert (Jamie) Munro
>            Assignee: jcesarmobile
>            Priority: Minor
>
> When I create a project with cordova-cli, it's not very clear what I should 
> be putting into version control, and what I should be relying on cordova-cli 
> to recreate for me. It's obvious that www and merges should be version 
> controlled, but what about platform and plugins? Where do I put 
> project-specific native code?
> An example .gitignore file could be provided, so that if I enable it, 
> everything I don't need to commit will be ignored.



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

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

Reply via email to