Sourcegraph DocsSourcegraph Docs
  • Code Intelligence

    • Cody
    • Code Search
  • Code Management

    • Batch Changes
    • Code Monitoring
    • Code Ownership
    • Code Insights
    • Notebooks
  • Platform

    • Sourcegraph Admin
    • Sourcegraph Cloud
    • Integrations
  • CLI & API

    • Sourcegraph CLI
    • Sourcegraph GraphQL API
    • Sourcegraph Stream API
  • Help & Support

    • SLAs & Premium Support
    • Tutorials
    • Sourcegraph Accounts
    • Changelog
  1. Docs
  2. batch_changes
  3. how-tos
  4. opting_out_of_batch_changes

Opting out of batch changes

Repository owners that are not interested in batch change changesets can opt out so that their repository will be skipped when a batch spec is executed.

To opt out: create a file called .batchignore at the root of the repository you wish to be skipped. src batch [apply|preview] will now skip that repository if it's yielded by the on part of the batch spec.

NOTE: You can use the -force-override-ignore flag to override that behaviour and not skip any ignored repositories.

On this page

  1. Opting out of batch changes

Edit this page on GitHub