[ 
https://issues.apache.org/jira/browse/CB-12398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116288#comment-16116288
 ] 

Jan Piotrowski commented on CB-12398:
-------------------------------------

One additional thing then would be to suggest _how_ to version `/platforms`. 
One could a) remove it from .gitignore or b) create another git repo inside it 
and version that independently.

[I am for b) as it combines the goal of Cordova of ot having to worry about it 
with the practicability of having a repo with the details. (Note that Cordova 
CLI currently doesn't like `.git` folders and fails for many actions).]

> Update users guide to document which application artifacts to include/exclude 
> from git
> --------------------------------------------------------------------------------------
>
>                 Key: CB-12398
>                 URL: https://issues.apache.org/jira/browse/CB-12398
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-docs
>            Reporter: Chris Brody
>              Labels: backlog
>
> In https://cordova.apache.org/docs/en/latest/guide/cli/index.html ("Create 
> your first Cordova app") it is not clear which artifacts should or should not 
> be committed in git or other source code control systems. This can lead to 
> lots of confusion. We know that in general the developer should use the 
> --save flag when adding all plugins/platforms and then exclude these 
> artifacts from git. But this is not at all clear to new users and I have seen 
> too many projects with old plugins/platforms artifacts included.
> We know that part of the right solution in CB-12008 (autosave 
> plugins/platforms by default in cordova@7) is in progress. I also raised 
> CB-12397 to add .gitignore to the app generated by "cordova create". But I 
> would also like to see this documented for new users.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to