Skip to content

Instantly share code, notes, and snippets.

@BenjaminRqt
Last active January 9, 2020 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenjaminRqt/d527d9648971ab9d0a7e59537f8c116d to your computer and use it in GitHub Desktop.
Save BenjaminRqt/d527d9648971ab9d0a7e59537f8c116d to your computer and use it in GitHub Desktop.

Créer un gitignore global

Linux

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

La configuration a été ajouté dans le ~/.gitconfig

    [core]
        excludesfile = /home/benjamin/.gitignore_global

Puis ajouter les élements à ignorer dans /home/benjamin/.gitignore_global

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment