46 lines
532 B
Markdown
46 lines
532 B
Markdown
# gitignore-global
|
|
|
|
**TODO** - move this to git dot files and write install script
|
|
|
|
Specify global ignore file:
|
|
|
|
```sh
|
|
git config --global core.excludesfile ~/.gitignore_global
|
|
```
|
|
|
|
Locate global ignore file:
|
|
|
|
```sh
|
|
git config --global core.excludesfile
|
|
```
|
|
|
|
## `.gitignore_global`
|
|
|
|
```
|
|
node_modules/
|
|
dist/
|
|
build/
|
|
.jstags
|
|
.phptags
|
|
.scsstags
|
|
.csstags
|
|
*.swp
|
|
Session.vim
|
|
sess.vim
|
|
.project_tags.config.vim
|
|
.netrwhist
|
|
NetrwTreeListing*
|
|
.ctags
|
|
.tags
|
|
*secret*
|
|
venv/
|
|
venv*
|
|
.env
|
|
*.dat
|
|
*.code-workspace
|
|
tags.vim
|
|
*.taghl
|
|
nohup.out
|
|
.in
|
|
.out
|
|
``` |