-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitignore
44 lines (40 loc) · 2.04 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# template for a .gitignore file
# pattern format explanation taken from
# https://www.kernel.org/pub/software/scm/git/docs/gitignore.html
#######################################################################################
#######################################################################################
# * A blank line matches no files, so it can serve as a separator for readability.
#
# * A line starting with # serves as a comment.
#
# * An optional prefix ! which negates the pattern; any matching file excluded by a previous pattern will
# * become included again. If a negated pattern matches, this will override lower precedence patterns
# * sources.
#
# * If the pattern ends with a slash, it is removed for the purpose of the following description, but it
# * would only find a match with a directory. In other words, foo/ will match a directory foo and paths
# * underneath it, but will not match a regular file or a symbolic link foo (this is consistent with the
# * way how pathspec works in general in git).
#
# * If the pattern does not contain a slash /, git treats it as a shell glob pattern and checks for a
# * match against the pathname relative to the location of the .gitignore file (relative to the toplevel
# * of the work tree if not from a .gitignore file).
#
# * Otherwise, git treats the pattern as a shell glob suitable for consumption by fnmatch(3) with the
# * FNM_PATHNAME flag: wildcards in the pattern will not match a / in the pathname. For example,
# * "Documentation/*.html" matches "Documentation/git.html" but not "Documentation/ppc/ppc.html" or
# * "tools/perf/Documentation/perf.html".
#
# * A leading slash matches the beginning of the pathname. For example, "/*.c" matches "cat-file.c" but
# * not "mozilla-sha1/sha1.c".
##########################################################################################
##############################
# actual directives start here
##############################
# ignore emacs temp files
*~
# ignore vim temp files
*swp
# ignore eclipse files
.project*
.settings*