Ignoring Pants's byproduct files.
If you use Git, we recommend adding these lines to your top-level
# Pants workspace files /.pants.d/ /dist/ /.pids /.pants.workdir.file_lock*
.gitignoreis used to auto-populate the option
pants_ignoreoption tells Pants which files to avoid looking at. Occasionally, you will want to ignore something with Git, but still want Pants to work on the file. See Troubleshooting / common issues for how to do this.
Updated over 2 years ago