.gitignore for PhoneGap/Cordova 3.0 projects - what should I commit?

后端 未结 6 1354
死守一世寂寞
死守一世寂寞 2020-12-04 07:03

I just tried to create a new phonegap 3.0 project... Note: I\'m new to phonegap. Anyways, I see the project folder contains:

  • .cordova
6条回答
  •  抹茶落季
    2020-12-04 07:58

    While it's somewhat personal preference, I went with this (for an android only project). Removing most, but keeping what's custom

    ToonPlane/platforms/android/*
    !ToonPlane/platforms/android/AndroidManifest.xml
    ToonPlane/plugins/*
    !ToonPlane/plugins/android.json
    !ToonPlane/plugins/fetch.json
    

提交回复
热议问题