-
Notifications
You must be signed in to change notification settings - Fork 26
/
.gitignore
137 lines (110 loc) · 3.98 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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
########################################################################
#
# .gitignore DIME template
# https://github.com/worldbank/DIMEwiki/tree/master/Topics/GitHub
#
# We recommend that you create a .gitignore file using GitHub's tools and
# replace the content of that file with the content of this file. Otherwise
# you have to rename this file .gitignore. But if you rename the fine in a
# regular folder window PCs and Macs are likely to keep the file extension
# so that the file ends up being names .gitignore.txt. Code editors like, Atom,
# can edit the file extension, but if you are not familiar with how to do that,
# we recommend that you generate an ignore file using GitHub and simply replace
# the content of that file.
#
# Note that if you are using GitKraken you need to use version 5.x or more
# recent for this template to work properly
#
########################################################################
#######################
# Start by ignoring everything, and below we are explicitly saying
# what to not ignore
*
#######################
# List of files with GitHub functionality anywhere in the repo
# that we do not want to ignore
# These files include GitHub settings
!.gitignore
!.gitattributes
# Keep markdown files used for documentation on GitHub
!README.md
!CONTRIBUTING.md
!LICENSE.md
#######################
# For performance reasons, if a folder is already ignored, then
# GitHub does not check the content for that folder for matches
# with additional rules. The line below includes folder in the
# top folder (but not their content), so that anything matching
# the rules below will still not be ignored.
!*/
#######################
# The following file types are code that should always be
# included no matter where in the repository folder they are
# located unless you explicitly ignore that folder
# Stata
!/**/*.do
!/**/*.ado
!/**/*.sthlp
# R-scrips and Rmarkdown-scripts
!/**/*.R
!/**/*.Rmd
# LaTeX
!/**/*.tex
# Python
!/**/*.py
!/**/*.ipynb
# Matlab
!/**/*.m
# Markdown
!/**/*.md
# Dyntext script
!00_documentation/002_repo_structure/0022_dataset_tables/dyntext*.txt
# csv files in input folders
!/**/*_rawdata/*.csv
!/**/*_rawdata/*/*.csv
# csv files in selected input folders
!08_2pager/081_data/cleaned_*.csv
!08_2pager/081_data/hosted_in_repo/*.csv
!05_working_paper/053_outputs/*correlations.csv
!02_simulation/023_outputs/*.csv
!02_simulation/023_outputs/*/*.csv
# csv files in selected output folders
!03_export_tables/033_outputs/*.csv
!01_data/013_outputs/final_preferences/*.csv
# excel for working paper
!05_working_paper/051_rawdata/LPV_*Template.xlsx
!05_working_paper/053_outputs/LPV_*PAPER.xlsx
# Excel for publication to DCS
!03_export_tables/031_rawdata/metadata_api.xlsx
!03_export_tables/031_rawdata/New vars for DCS.xlsx
##################
#Include images used in the 2pager template
!08_2pager/082_program/Rmd_template/Rmd_template_images/*.png
!08_2pager/082_program/Rmd_template/Rmd_template_images/*.svg
#Include the Excel input file
#!08_2pager/081_data/twopager_input.xls
#Include the Excel input file with Name of TTLs
!08_2pager/081_data/hosted_in_repo/20190903_TTL List.xlsx
!08_2pager/081_data/hosted_in_repo/*TTL*.xlsx
#Do not commit the intermediate tex files generated by the Rmd
08_2pager/083_interm_output/raw_output_2pagers/*.tex
#Do not commit the aggregation tex files
08_2pager/084_2pagers/*/*.tex
08_2pager/084_2pagers/*/*/*.tex
# image files in documentation folders
!/00_documentation/*/*/*.png
!/00_documentation/*/*/*.jpg
!/00_documentation/*/*.png
!/00_documentation/*/*.jpg
!/00_documentation/*.png
!/00_documentation/*.jpg
#######################
# Include all the files with passwords or tokens here. All files named
# password or passwords are with this template ignored no matter which
# format you are using. Additionally, all content in any folder called
password or passwords are also ignored. NOTE that your project might be
using different names and then you must edit the lines below accordingly.
password.*
passwords.*
password/
passwords/