1 | //this will affect all the git repos
|
2 | git config --global core.excludesfile ~/.gitignore
|
3 |
|
4 |
|
5 | //update files since .ignore won't if already tracked
|
6 | git rm --cached <file>
|
7 |
|
8 | # Compiled source #
|
9 | ###################
|
10 | *.com
|
11 | *.class
|
12 | *.dll
|
13 | *.exe
|
14 | *.o
|
15 | *.so
|
16 |
|
17 | # Packages #
|
18 | ############
|
19 | # it's better to unpack these files and commit the raw source
|
20 | # git has its own built in compression methods
|
21 | *.7z
|
22 | *.dmg
|
23 | *.gz
|
24 | *.iso
|
25 | *.jar
|
26 | *.rar
|
27 | *.tar
|
28 | *.zip
|
29 |
|
30 | # Logs and databases #
|
31 | ######################
|
32 | *.log
|
33 | *.sql
|
34 | *.sqlite
|
35 |
|
36 | # OS generated files #
|
37 | ######################
|
38 | .DS_Store
|
39 | .DS_Store?
|
40 | ._*
|
41 | .Spotlight-V100
|
42 | .Trashes
|
43 | # Icon?
|
44 | ehthumbs.db
|
45 | Thumbs.db
|
46 | .cache
|
47 | .project
|
48 | .settings
|
49 | .tmproj
|
50 | *.esproj
|
51 | nbproject
|
52 |
|
53 | # Numerous always-ignore extensions #
|
54 | #####################################
|
55 | *.diff
|
56 | *.err
|
57 | *.orig
|
58 | *.rej
|
59 | *.swn
|
60 | *.swo
|
61 | *.swp
|
62 | *.vi
|
63 | *~
|
64 | *.sass-cache
|
65 | *.grunt
|
66 | *.tmp
|
67 |
|
68 | # Dreamweaver added files #
|
69 | ###########################
|
70 | _notes
|
71 | dwsync.xml
|
72 |
|
73 | # Komodo #
|
74 | ###########################
|
75 | *.komodoproject
|
76 | .komodotools
|
77 |
|
78 | # Node #
|
79 | #####################
|
80 | node_modules
|
81 |
|
82 | # Bower #
|
83 | #####################
|
84 | bower_components
|
85 |
|
86 | # Folders to ignore #
|
87 | #####################
|
88 | .hg
|
89 | .svn
|
90 | .CVS
|
91 | intermediate
|
92 | publish
|
93 | .idea
|
94 | .graphics
|
95 | _test
|
96 | _archive
|
97 | uploads
|
98 | tmp
|
99 |
|
100 | # Vim files to ignore #
|
101 | #######################
|
102 | .VimballRecord
|
103 | .netrwhist
|
104 |
|
105 | bundle.*
|
106 |
|
107 | _demo |
\ | No newline at end of file |