Skip to content

Instantly share code, notes, and snippets.

@rafi
Created August 24, 2013 10:00
Show Gist options
  • Select an option

  • Save rafi/6327231 to your computer and use it in GitHub Desktop.

Select an option

Save rafi/6327231 to your computer and use it in GitHub Desktop.
my crazy .gitignore for initializing a detached git repo for my ~/ dir
.hg/
*.swp
*.lock
# var
.adobe/
.cache/
.cpan/
/.fonts/
.gegl-*/
.gem/
.gnome/
.gnome2*/
.gstreamer-*/
.heroku/
.jam/
.java/
.JIRAClient/
.launchpadlib/
.mono/
/.mozilla/
.node-gyp/
.npm/
/.nv/
.pulse/
.themes/
.thumbnails/
.weechat/logs
.xchat2/scrollback/
.xchat2/xchatlogs/
.yeoman/
.yjp/
.dbshell
.dmenu_cache
.lesshst
.mysql_history
.pgadmin_histoqueries
.psql_history
.sqlite_history
.xsel.log
.xsession-errors*
libpeerconnection.log
.viminfo
# tmp
.puddletag/*.log
.gresolverrc
.ICEauthority
.Xauthority
# nicotine
/.nicotine/*
!/.nicotine/config
# krusader
/.kde/*
!.kde/share/
/.kde/share/*
!.kde/share/apps/
!.kde/share/apps/krusader
!.kde/share/config/
/.kde/share/config/*
!.kde/share/config/krusaderrc
# virtualbox
/.VirtualBox/*
!.VirtualBox/VirtualBox.xml
!.VirtualBox/VirtualBox.xml-prev
# datastudio
/.datastudio/*
!.datastudio/datastudio*.properties
!.datastudio/abbreviations.properties
# unused
.gimp-*/
.lighttable/
.miro/
.mixxx/
.mplayer/
.mysql/
.PlayOnLinux/
.RubyMine40/
.shutter/
.Skype/
.subversion/
.vim/
.WebIde50/
.wine/
# secret
.geeknote/
1Password/
.gnupg/
.pki/
.remmina/
.sentry/
.signon/
.ssh/
.bash_history
.netrc
.pgpass
.s3cfg
.voloconfiglocal
*.kdbx
# home
/box/
/www/
/php/
/Desktop/
/Documents/
/Downloads/
/Insync/
/Music/
/Pictures/
/pkgs/
/Podcasts/
/Public/
/Snapshots/
/src/
/Sync/
/Videos/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment