Skip to content

Commit 925563c

Browse files
committed
Added info on .gitignore
1 parent e9817aa commit 925563c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,24 @@ of the mapcode library by Rijn Buve and Matthew Lowden.
3434

3535
It's good practice to set up a personal global .gitignore file on your machine which filters a number of files
3636
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:
37+
`~/.gitignore` file by executing:
3838
`git config --global core.excludesfile ~/.gitignore`
3939

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 *~`
40+
In general, add the following file types to `~/.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 *.releaseBackup *~`
4242

4343
If you're using a Mac, filter:
4444
`.DS_Store* Thumbs.db`
4545

4646
If you're using IntelliJ IDEA, filter:
47-
`*.iml *.iws *.releaseBackup .idea/`
47+
`*.iml *.iws .idea/`
4848

4949
If you're using Eclips, filter:
5050
`.classpath .project .settings .cache`
5151

5252
If you're using NetBeans, filter:
5353
`nb-configuration.xml *.orig`
54+
55+
The local `.gitignore` file in the Git repository itself to reflect those file only that are produced by executing
56+
regular compile, build or release commands, such as:
57+
`target/ out/`

0 commit comments

Comments
 (0)