Skip to content

Commit d53cd79

Browse files
ydroneaudshefty
authored andcommitted
Add .gitignore rules
Add the list of files/patterns to be exclueded from git status output. Additionally it will prevent such files/patterns to be added and committed. Signed-off-by: Yann Droneaud <[email protected]> Signed-off-by: Sean Hefty <[email protected]>
1 parent e9ef6c2 commit d53cd79

File tree

3 files changed

+95
-0
lines changed

3 files changed

+95
-0
lines changed

.gitignore

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# - see gitignore(5)
2+
#
3+
# http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
4+
# http://git-scm.com/docs/gitignore.html
5+
#
6+
# - ignore files in this current directory with a leading /
7+
# so that files with the same name is a subdirectory
8+
# would not be ignored by mistake.
9+
#
10+
# per directory .gitignore would be used to ignore specific
11+
# files/patterns
12+
#
13+
# - more examples can be found at
14+
#
15+
# https://github.com/github/gitignore
16+
# http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files
17+
#
18+
19+
# global ignore rules:
20+
#
21+
# backup files
22+
#
23+
*~
24+
25+
# local (eg. current directory) rules:
26+
#
27+
# /<pattern>
28+
29+
#
30+
# files created by autoreconf (autoconf, automake, libtool)
31+
#
32+
33+
/INSTALL
34+
/config.guess
35+
/config.sub
36+
/missing
37+
/depcomp
38+
/install-sh
39+
/configure
40+
/aclocal.m4
41+
/autom4te.cache/
42+
/config.h.in
43+
/Makefile.in
44+
/compile
45+
/config
46+
47+
#
48+
# files created by autoscan
49+
#
50+
51+
/autoscan.log
52+
/configure.scan
53+
54+
#
55+
# files created by ./configure
56+
#
57+
58+
/config.h
59+
/config.status
60+
/config.log
61+
/Makefile
62+
/stamp-h1
63+
/libtool
64+
/librdmacm.spec

examples/.gitignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# files produced by ./configure
2+
/.deps
3+
4+
# files produced by make (libtool)
5+
/*.o
6+
/*.lo
7+
/*.la
8+
/.libs
9+
/.dirstamp
10+
11+
/mckey
12+
/rcopy
13+
/rdma_client
14+
/rdma_server
15+
/rdma_xclient
16+
/rdma_xserver
17+
/riostream
18+
/rping
19+
/rstream
20+
/ucmatose
21+
/udaddy
22+
/udpong

src/.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# files produced by ./configure
2+
/.deps
3+
4+
# files produced by make (libtool)
5+
/*.o
6+
/*.lo
7+
/*.la
8+
/.libs
9+
/.dirstamp

0 commit comments

Comments
 (0)