Skip to content

Commit 856d1d0

Browse files
committed
chore: add default gitignore
1 parent 9755c81 commit 856d1d0

File tree

1 file changed

+106
-29
lines changed

1 file changed

+106
-29
lines changed

.gitignore

Lines changed: 106 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,63 @@
1+
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2+
# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,r,macos,linux
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,r,macos,linux
4+
5+
### Linux ###
6+
*~
7+
8+
# temporary files which can be created if a process still has a handle open of a deleted file
9+
.fuse_hidden*
10+
11+
# KDE directory preferences
12+
.directory
13+
14+
# Linux trash folder which might appear on any partition or disk
15+
.Trash-*
16+
17+
# .nfs files are created when an open file is removed but is still being accessed
18+
.nfs*
19+
20+
### macOS ###
21+
# General
22+
.DS_Store
23+
.AppleDouble
24+
.LSOverride
25+
26+
# Icon must end with two \r
27+
Icon
28+
29+
30+
# Thumbnails
31+
._*
32+
33+
# Files that might appear in the root of a volume
34+
.DocumentRevisions-V100
35+
.fseventsd
36+
.Spotlight-V100
37+
.TemporaryItems
38+
.Trashes
39+
.VolumeIcon.icns
40+
.com.apple.timemachine.donotpresent
41+
42+
# Directories potentially created on remote AFP share
43+
.AppleDB
44+
.AppleDesktop
45+
Network Trash Folder
46+
Temporary Items
47+
.apdisk
48+
49+
### macOS Patch ###
50+
# iCloud generated files
51+
*.icloud
52+
53+
### R ###
154
# History files
255
.Rhistory
356
.Rapp.history
457

558
# Session Data files
659
.RData
60+
.RDataTmp
761

862
# User-specific files
963
.Ruserdata
@@ -41,35 +95,36 @@ vignettes/*.pdf
4195
# pkgdown site
4296
docs/
4397

44-
# General
45-
.DS_Store
46-
.AppleDouble
47-
.LSOverride
98+
# translation temp files
99+
po/*~
48100

49-
# Icon must end with two \r
50-
Icon
101+
# RStudio Connect folder
102+
rsconnect/
51103

104+
### R.Bookdown Stack ###
105+
# R package: bookdown caching files
106+
/*_files/
52107

108+
### VisualStudioCode ###
109+
.vscode/*
110+
!.vscode/settings.json
111+
!.vscode/tasks.json
112+
!.vscode/launch.json
113+
!.vscode/extensions.json
114+
!.vscode/*.code-snippets
53115

54-
# Thumbnails
55-
._*
116+
# Local History for Visual Studio Code
117+
.history/
56118

57-
# Files that might appear in the root of a volume
58-
.DocumentRevisions-V100
59-
.fseventsd
60-
.Spotlight-V100
61-
.TemporaryItems
62-
.Trashes
63-
.VolumeIcon.icns
64-
.com.apple.timemachine.donotpresent
119+
# Built Visual Studio Code Extensions
120+
*.vsix
65121

66-
# Directories potentially created on remote AFP share
67-
.AppleDB
68-
.AppleDesktop
69-
Network Trash Folder
70-
Temporary Items
71-
.apdisk
122+
### VisualStudioCode Patch ###
123+
# Ignore all local history of files
124+
.history
125+
.ionide
72126

127+
### Windows ###
73128
# Windows thumbnail cache files
74129
Thumbs.db
75130
Thumbs.db:encryptable
@@ -95,12 +150,34 @@ $RECYCLE.BIN/
95150
# Windows shortcuts
96151
*.lnk
97152

98-
.vscode/*
99-
!.vscode/settings.json
100-
!.vscode/tasks.json
101-
!.vscode/launch.json
102-
!.vscode/extensions.json
103-
*.code-workspace
153+
# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,r,macos,linux
154+
155+
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
156+
157+
# R
158+
.Rprofile
159+
README.html
160+
src/*.o
161+
src/*.so
162+
src/*.dll
163+
164+
# CRAN
165+
cran-comments.md
166+
CRAN-RELEASE
167+
CRAN-SUBMISSION
168+
169+
# pkgdown
170+
docs/
171+
172+
# renv
173+
renv/
174+
renv.lock
175+
176+
# vscode
104177
.vscode
105178

106-
.Rprofile
179+
# revdep
180+
revdep/
181+
182+
# misc
183+
Meta/

0 commit comments

Comments
 (0)