.gitignore pour Julia

13 règles d’exclusion pour Julia, prêtes à copier dans votre dépôt.

Langage de programmation dynamique haute performance

Le .gitignore complet pour Julia

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:29:56 UTC
# Technologies: Julia

### Julia ###
*.jl.cov
*.jl.*.cov
*.jl.mem
deps/deps.jl
deps/build.log
deps/downloads/
deps/usr/
deps/src/
docs/build/
docs/site/
Manifest*.toml
LocalPreferences.toml
JuliaLocalPreferences.toml

Ce que ces règles Julia ignorent vraiment

Chaque motif ci-dessous, et pourquoi il a sa place dans votre .gitignore.

Files generated by invoking Julia with --code-coverage

Motif Ce qu’il ignore
*.jl.cov Files generated by invoking Julia with --code-coverage
*.jl.*.cov Files generated by invoking Julia with --code-coverage

Files generated by invoking Julia with --track-allocation

Motif Ce qu’il ignore
*.jl.mem Files generated by invoking Julia with --track-allocation

They contain absolute paths specific to the host computer, and so should not be committed

Motif Ce qu’il ignore
deps/deps.jl They contain absolute paths specific to the host computer, and so should not be committed
deps/build.log They contain absolute paths specific to the host computer, and so should not be committed
deps/downloads/ They contain absolute paths specific to the host computer, and so should not be committed
deps/usr/ They contain absolute paths specific to the host computer, and so should not be committed
deps/src/ They contain absolute paths specific to the host computer, and so should not be committed

Build artifacts for creating documentation generated by the Documenter package

Motif Ce qu’il ignore
docs/build/ Build artifacts for creating documentation generated by the Documenter package
docs/site/ Build artifacts for creating documentation generated by the Documenter package
Manifest*.toml File generated by Pkg, the package manager, based on a corresponding Project.toml It records a fixed state of all packages used by the project. As such, it should not be committed for packages, but should be committed for applications that require a static environment.

File generated by the Preferences package to store local preferences

Motif Ce qu’il ignore
LocalPreferences.toml File generated by the Preferences package to store local preferences
JuliaLocalPreferences.toml File generated by the Preferences package to store local preferences

Comment utiliser ce .gitignore pour Julia

  1. Copiez les règles Julia ci-dessus, ou téléchargez directement le fichier.
  2. Créez un fichier nommé .gitignore à la racine de votre dépôt Git et collez-y les règles.
  3. Si certains de ces fichiers sont déjà suivis, lancez git rm -r --cached . puis recommitez — Git n’applique les règles d’exclusion qu’aux fichiers non suivis.
  4. Commitez le .gitignore pour que toute l’équipe partage les mêmes règles.

Autres modèles .gitignore Language

Voir tous les modèles Language