update gitignore to fully ignore the things
This commit is contained in:
59
.gitignore
vendored
Normal file
59
.gitignore
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
# Allowlisting gitignore template for GO projects prevents us
|
||||
# from adding various unwanted local files, such as generated
|
||||
# files, developer configurations or IDE-specific files etc.
|
||||
#
|
||||
# Recommended: Go.AllowList.gitignore
|
||||
|
||||
# Ignore everything
|
||||
*
|
||||
|
||||
# Especially these
|
||||
.vscode
|
||||
.vscode/
|
||||
.vscode/**
|
||||
**/.vscode
|
||||
**/.vscode/**
|
||||
.idea
|
||||
.idea/
|
||||
.idea/**
|
||||
**/.idea
|
||||
**/.idea/
|
||||
**/.idea/**
|
||||
node_modules
|
||||
node_modules/
|
||||
node_modules/**
|
||||
**/node_modules
|
||||
**/node_modules/
|
||||
**/node_modules/**
|
||||
pkg/uploader/keyfile.json
|
||||
/pkg/uploader/keyfile.json
|
||||
**/keyfile.json
|
||||
|
||||
# But not these files...
|
||||
!/.gitignore
|
||||
!*.go
|
||||
!go.sum
|
||||
!go.mod
|
||||
!*.md
|
||||
!LICENSE
|
||||
!*.sh
|
||||
!Makefile
|
||||
!*.json
|
||||
!*.pdf
|
||||
!*.csv
|
||||
!*.py
|
||||
!*.mediawiki
|
||||
!*.did
|
||||
!*.rs
|
||||
!*.toml
|
||||
!*.file
|
||||
!.gitkeep
|
||||
!pkg/eth/**
|
||||
!*.h
|
||||
!*.c
|
||||
!*.proto
|
||||
!bundleData
|
||||
!*.item
|
||||
!*.bin
|
||||
# ...even if they are in subdirectories
|
||||
!*/
|
||||
Reference in New Issue
Block a user