I am very new to github, so this is probably a dumb question. I have a cordova project that I've created a repository for. The "www" folder was added to source when I created the repository. I used "git add .", but it won't add my "platforms" or "plugins" folders and their contents. All three folders are on the same level. Any idea what I could be doing wrong?
Thanks
As you can see in ".gitignore
for PhoneGap/Cordova 3.0 projects - what should I commit?":
I like the idea of omitting the platforms directory.
In fact, I am am able to exclude both theplugins
andplatforms
directories.
A good starting point for the.gitignore
:
platforms/
plugins/
Note that a standard .gitignore for such directoves (as Jubobs suggested in the comments), since the plugin
folder, for instance, would be populated by the command cordova plugin add ...
.