2020-09-15 11:37:09 +00:00
|
|
|
# gitignore-global
|
|
|
|
|
2020-09-15 11:41:35 +00:00
|
|
|
**TODO** - move this to git dot files and write install script
|
|
|
|
|
2020-09-15 11:38:39 +00:00
|
|
|
Specify global ignore file:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git config --global core.excludesfile ~/.gitignore_global
|
|
|
|
```
|
|
|
|
|
|
|
|
Locate global ignore file:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git config --global core.excludesfile
|
2020-09-15 11:41:35 +00:00
|
|
|
```
|
|
|
|
|
2020-09-15 11:42:29 +00:00
|
|
|
`.gitignore_global`:
|
2020-09-15 11:42:04 +00:00
|
|
|
|
2020-09-15 11:41:35 +00:00
|
|
|
```
|
|
|
|
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
|
2020-09-15 11:38:39 +00:00
|
|
|
```
|