> For the complete documentation index, see [llms.txt](https://sheldonldev.gitbook.io/sheldon-loves-dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sheldonldev.gitbook.io/sheldon-loves-dev/working-env/git-and-github/global-settings.md).

# Global Settings

## Global .gitconfig

```bash
cat ~/.gitconfig
```

## Global .gitignore

```bash
touch ~/.gitignore_global
```

```bash
**/.git
**/.DS_Store
**/node_modules
**//dist

**/.env
**/.env.local
**/.env.*.local

**/npm-debug.log*
**/yarn-debug.log*
**/yarn-error.log*
**/pnpm-debug.log*

**/.idea
**/.vscode
```

```bash
git config --global core.excludesfile ~/.gitignore_global
```
