Skip to content

Instantly share code, notes, and snippets.

@Azuritul
Last active October 25, 2022 20:16
Show Gist options
  • Star 26 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save Azuritul/1139184 to your computer and use it in GitHub Desktop.
Save Azuritul/1139184 to your computer and use it in GitHub Desktop.
General gitignore file sample
# IDEA Ignores #
################
*.iml
*.ipr
*.iws
.idea/
out/
local.properties
# Generic Android ignores #
###########################
bin/
target
gen/
# Built Application Files
###########################
*.apk
*.ap_
# Files for the dex VM
###########################
*.dex
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
*.7z
*.dmg
*.gz
*.iso
*.rar
*.tar
*.zip
# Logs and databases #
######################
log/
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
ehthumbs.db
Icon?
Thumbs.db
# VCS #
#######
.svn
.svn/
CVS
# XCode 5 #
###########
*.xcuserstate
*.pbxuser
*.mode1v3
*.mode2v3
*.perspectivev3
xcuserdata/
*.xccheckout
*.moved-aside
DerivedData
!default.pbxuser
!default.mode1v3
!default.mode2v3
!default.perspectivev3
@wesdollar
Copy link

Thanks for taking the time to post this!

@Nemo64
Copy link

Nemo64 commented Aug 19, 2014

nice, thanks!

@pacotole
Copy link

You can add general backup files *~

@muhammederenozyurur
Copy link

Thanks man

@JustineUgo
Copy link

This helped. Thanks

@SaigyoujiYuyuko233
Copy link

Thanks! It help a lot!

@khagan13
Copy link

khagan13 commented Aug 1, 2021

Hey
Have you added titles like # " something " # for your convenience or only listing all files to be ignored will also work?

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