Skip to content

Instantly share code, notes, and snippets.

@RandyMcMillan
Created April 17, 2012 18:30
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save RandyMcMillan/2408032 to your computer and use it in GitHub Desktop.
Save RandyMcMillan/2408032 to your computer and use it in GitHub Desktop.
PhoneGap.gitignore
# ANDROID / ECLIPSE
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files - android project subfolder
Android/bin/
Android/gen/
Android/assets/
# generated files
bin/
gen/
# Local configuration file (sdk path, etc)
local.properties
# IOS / Xcode
build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
*.xcworkspace
!default.xcworkspace
xcuserdata
profile
*.moved-aside
IOS/www/
# OSX
.DS_Store
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
@ptbrowne
Copy link

ptbrowne commented Jul 2, 2014

Thanks !

@whitmanc
Copy link

whitmanc commented Nov 7, 2014

This doesn't follow latest default directory structure.

IOS/www/ should be platforms/ios/www
etc etc

@whitmanc
Copy link

whitmanc commented Nov 7, 2014

Here's an updated one:

# ANDROID / ECLIPSE

# built application files
*.apk
*.ap_

# files for the dex VM
*.dex

# Java class files
*.class

# generated files - android project subfolder
platforms/android/bin/
platforms/android/gen/
platforms/android/assets/

# generated files
bin/
gen/

# Local configuration file (sdk path, etc)
local.properties

# IOS / Xcode
build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
*.xcworkspace
!default.xcworkspace
xcuserdata
profile
*.moved-aside
platforms/ios/www/*

# OSX
.DS_Store

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

@LoicMahieu
Copy link

Thanks. Looks great. That's a pity that it does not part of HelloCordova

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment