1

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

SBerg413
  • 14,515
  • 6
  • 62
  • 88
Caleb Sandfort
  • 561
  • 1
  • 6
  • 13

1 Answers1

0

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 the plugins and platforms 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 ....

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250