> For the complete documentation index, see [llms.txt](https://til.yulrizka.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.yulrizka.com/git/global-gitignore-file.md).

# global gitignore file

To create a global git ignore that apply across all git repository

```
$ echo `.DS_Store` > ~/.gitignore
$ git config --global core.excludesfile ~/.gitignore
```
