I’ve started working on a gitignore file for Phonegap projects. The .gitignore file can be used with the folder structure explained in Phonegap and multiple platforms. But also with projects only containing one platform.

If you have any improvements to the file you are welcome to update it on Github. That is also the location where you can download Phonegap.gitignore.

If you don’t want to follow the folderstructure described in the post that i linked to above you can delete the following lines:

# generated files – android project subfolder