-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitignore
More file actions
executable file
·74 lines (53 loc) · 1.15 KB
/
.gitignore
File metadata and controls
executable file
·74 lines (53 loc) · 1.15 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# cuixingxing 定义的.gitgnore文件,参考:在.gitignore中如何写可以忽略掉无扩展名的Unix可执行文件? https://www.zhihu.com/question/26247816/answer/71915337 ,以后项目依据此文件适当修改,2021.9.26
# 文件夹前面必须要用"/"才奏效,2022.3.8
# 2022.10.14 根据最新参考修改模板
#忽略所有文件和目录(当前目录不能忽略)
*
# 根据自己项目工程修改,增加指定目录和下面所有目录
!/src/
!/src/**
!/c_cpp_utils/
!/c_cpp_utils/**/
!/constructSrc/
!/constructSrc/**/
!/images/
!/images/**
!/CXSparse/
!/CXSparse/**/
!/ocv/
!/ocv/**/
!/mapSrc/
!/mapSrc/**/
# 增加指定扩展名文件#忽略特殊文件,一般是当前目录下的文件(当前目录不能忽略)
!.gitignore
!.gitattributes
!*.json
!*.md
# license
!LICENSE
# python
!*.py
!*.ipynb
# matlab
!*.m
!*.mlx
!*.slx
!*.p
# c/c++
!*.cpp
!*.hpp
!*.h
!*.c
# cmake
!CMakeLists.txt
!Makefile
# docker
!Dockerfile
# 根据自己项目工程修改
!*.in
!*.txt
!*.cgt
#忽略特殊文件,一般是当前目录下的文件(当前目录不能忽略)
/yourSpecify.cpp
/yourSpecify.h
!/data/preSavedData/database.yml.gz