Skip to content
Snippets Groups Projects
.gitignore 4.26 KiB
Newer Older
  • Learn to ignore specific revisions
  • # .gitignore - List of filenames git should ignore
    
    # Filenames that should be ignored wherever they appear
    *~
    *.pyc
    *.pyo
    TAGS
    tags
    
    # Ignore ID generated by idutils and un-ignore id directory (for Indonesian locale)
    
    .DS_Store*
    
    # Filesystem temporaries
    .fuse_hidden*
    
    # Ignore Python .egg-info directories for first-party modules (but,
    # still add vendored packages' .egg-info directories)
    *.egg-info
    !third_party/python/**/*.egg-info
    !testing/web-platform/tests/tools/third_party/**/*.egg-info
    
    
    # Vim swap files.
    .*.sw[a-z]
    
    # Emacs directory variable files.
    **/.dir-locals.el
    
    # Emacs project sentinel files.
    **/.projectile
    
    # User files that may appear at the root
    
    
    # Empty marker file that's generated when we check out NSS
    security/manager/.nss.checkout
    
    # Build directories
    
    # gecko.log is generated by various test harnesses
    /gecko.log
    
    
    # Ignore newtab component build assets
    browser/components/newtab/logs/
    
    
    # Ignore Pocket component build and dev assets
    browser/components/pocket/content/panels/css/main.compiled.css.map
    
    
    # Build directories for js shell
    
    *_DBG.OBJ/
    *_OPT.OBJ/
    /js/src/*-obj/
    /js/src/obj-*/
    
    
    # SpiderMonkey configury
    js/src/configure
    
    js/src/autom4te.cache
    # SpiderMonkey test result logs
    js/src/tests/results-*.html
    js/src/tests/results-*.txt
    
    # Java HTML5 parser classes
    parser/html/java/htmlparser/
    parser/html/java/javaparser/
    
    parser/html/java/javaparser.jar
    parser/html/java/translator.jar
    
    
    # Ignore the files and directory that Eclipse IDE creates
    
    # Ignore the files and directory that JetBrains IDEs create.
    /.idea/
    *.iml
    
    # Android Monitor in Android Studio creates a captures/ directory.
    /captures/
    
    
    # Gradle cache.
    /.gradle/
    
    # Local Gradle configuration properties.
    /local.properties
    
    
    # Ignore chrome.manifest files from the devtools loader
    
    devtools/client/chrome.manifest
    devtools/shared/chrome.manifest
    
    devtools/client/debugger/assets/build
    devtools/client/debugger/assets/module-manifest.json
    
    # Ignore node_modules directories in devtools
    
    # Ignore browsertime output directory
    browsertime-results
    
    
    # Tag files generated by GNU Global
    GTAGS
    GRTAGS
    GSYMS
    GPATH
    
    
    # Git clone directory for updating web-platform-tests
    testing/web-platform/sync/
    
    # Third party metadata for web-platform-tests
    testing/web-platform/products/
    
    
    # Android Gradle artifacts.
    mobile/android/gradle/.gradle
    
    # Rust/Cargo output from running `cargo` directly
    
    # Ignore mozharness execution files
    testing/mozharness/.tox/
    testing/mozharness/build/
    testing/mozharness/logs/
    testing/mozharness/.coverage
    testing/mozharness/nosetests.xml
    
    
    
    # Ignore talos virtualenv and tp5n files.
    # The tp5n set is supposed to be decompressed at
    
    # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
    
    # locally. Similarly, running talos requires a Python package virtual
    # environment. Both the virtual environment and tp5n files end up littering
    # the status command, so we ignore them.
    testing/talos/.Python
    testing/talos/bin/
    testing/talos/include/
    testing/talos/lib/
    
    testing/talos/talos/fis/tp5n.zip
    testing/talos/talos/fis/tp5n
    
    testing/talos/talos/tests/tp5n.zip
    testing/talos/talos/tests/tp5n
    testing/talos/talos/tests/devtools/damp.manifest.develop
    
    # Ignore sync tps logs and reports
    tps.log
    tps_result.json
    
    
    # Ignore files created when running a reftest.
    lextab.py
    
    # Ignore Visual Studio/Visual Studio Code workspace files.
    .vs/
    
    
    # Ignore various raptor performance framework files
    testing/raptor/.raptor-venv
    testing/raptor/raptor-venv
    testing/raptor/raptor/tests/json/
    testing/raptor/webext/raptor/auto_gen_test_config.js
    
    
    # Ignore ICU4X experimentation data files.
    # See intl/ICU4X.md for more details.
    config/external/icu4x
    
    
    # Ignore the index files generated by clangd.
    .cache/clangd/index/
    
    
    # Ignore Storybook generated files
    browser/components/storybook/node_modules/
    browser/components/storybook/storybook-static/