Skip to content

Commit e9817aa

Browse files
committed
Added info on .gitignore
1 parent 9c553fa commit e9817aa

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,24 @@ limitations under the License.
3030
Original C library created by Pieter Geelen. Work on Java version
3131
of the mapcode library by Rijn Buve and Matthew Lowden.
3232

33+
# Using Git and .gitignore
34+
35+
It's good practice to set up a personal global .gitignore file on your machine which filters a number of files
36+
on your file systems that you do not wish to submit to the Git repository. You can set up your own global
37+
.gitignore file by executing:
38+
`git config --global core.excludesfile ~/.gitignore`
39+
40+
In general, filter these file types in `~/.gitignore` (each entry should be on a separate line):
41+
`*.com *.class *.dll *.exe *.o *.so *.log *.sql *.sqlite *.tlog *.epoch *.swp *.hprof *.hprof.index *~`
42+
43+
If you're using a Mac, filter:
44+
`.DS_Store* Thumbs.db`
45+
46+
If you're using IntelliJ IDEA, filter:
47+
`*.iml *.iws *.releaseBackup .idea/`
48+
49+
If you're using Eclips, filter:
50+
`.classpath .project .settings .cache`
51+
52+
If you're using NetBeans, filter:
53+
`nb-configuration.xml *.orig`

0 commit comments

Comments
 (0)