Skip to content

Commit 995bdcb

Browse files
authored
Adding our template .gitignore recommendations
1 parent 73eb8a0 commit 995bdcb

File tree

1 file changed

+43
-7
lines changed

1 file changed

+43
-7
lines changed

.gitignore

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
# Session Data files
66
.RData
7-
.RDataTmp
87

98
# User-specific files
109
.Ruserdata
@@ -39,11 +38,48 @@ vignettes/*.pdf
3938
# R Environment Variables
4039
.Renviron
4140

42-
# pkgdown site
43-
docs/
41+
# Mac stuff
42+
.DS_Store
4443

45-
# translation temp files
46-
po/*~
44+
# Project file
45+
*.Rproj
4746

48-
# RStudio Connect folder
49-
rsconnect/
47+
# Microsoft Office partial files
48+
~$*.pptx
49+
~$*.xlsx
50+
~$*.docx
51+
52+
# Image file types
53+
*.png
54+
*.jpeg
55+
*.jpg
56+
57+
# Spatial data file types
58+
## Shapefile components
59+
*.shp
60+
*.shx
61+
*.sbn
62+
*.sbx
63+
*.shp.xml
64+
*.shx.xml
65+
*.prj
66+
*.dbf
67+
*.cpg
68+
## Non-shapefile spatial data
69+
*.nc
70+
*.tif
71+
*.geojson
72+
73+
# Other file types
74+
*.pdf
75+
*.zip
76+
77+
# Data file types
78+
## Delete the hashtag (on the left in the following lines) if you _would_ like to ignore this file type
79+
# *.csv
80+
# *.xlsx
81+
# *.xls
82+
# *.txt
83+
84+
# Folders to ignore
85+
## Add any folders you’d like to ignore below (with or without the trailing slash)

0 commit comments

Comments
 (0)