Use a global gitignore file, please!

Here’s a quick tip that I find myself repeating, so I thought I’d write this up somewhere I can reliably link to. Many Git repositories have a .gitignore file at the root of the repository. Generally this is used to exclude build outputs from ending up in source control, however often these files also accumulate file and directory names related to various editors (e.g. .vscode , .idea ) and…