36dfa9f6
Name Last commit Last update
.gitignore 🎉 Added the gitignore
README.md 📝 Update README.md

Global Gitignore

Complete .gitignore file for different IDEs

  • Jetbrains
  • VSCode
  • Eclipse

Generated thanks to gitignore.io !

Tutorial

TLDR

$ mkdir -p ~/.config/git
$ git clone ssh://git@git.excilys.com:2022/vbilla/global-gitignore.git ~/.config/git
$ git config --global core.excludesfile ~/.config/git/.gitignore

Step by Step

  1. First we create a directory in which to put the global gitignore, I chose ~/.config/git but feel free to use any path you like.
$ mkdir -p ~/.config/git
  1. Then we clone the project (especially the .gitignore file) using ssh.
$ git clone ssh://git@git.excilys.com:2022/vbilla/global-gitignore.git ~/.config/git
  1. Finally we add the file to the global git config.
$ git config --global core.excludesfile ~/.config/git/.gitignore