Skip to content

Instantly share code, notes, and snippets.

@Azuritul
Last active June 29, 2024 13:15
Show Gist options
  • 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
@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