Anatomy of a .gitignore

Anatomy of a .gitignore

What do .gitignore files do?

  • Global excludes — this is a global file in the same format as an ignore file, whose path is set in the core.excludesFile Git configuration)
  • Repo-wide excludes — an ignore file at the special path .git/info/exclude

Curious? Want to continue reading this article? You can find the full post over on my blog:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sebastiano Poggi

Sebastiano Poggi

"It depends" 🤷‍♂️ - Google Developer Expert for Android, Flutter and Identity. A geek 🤓 who has a serious thing for good design ✨ and for emojis 🤟