# Exclude pathspec

say it: **“ik-SKLOOD PATH-spek”** **/ɪkˈsklud ˈpæθˌspɛk/**

A pathspec that removes matching paths after positive pathspecs have selected candidates.

## What is **Exclude pathspec**?

**Exclude pathspec** — A pathspec that removes matching paths after positive pathspecs have selected candidates.

Level: Freelancer · [More Git terms at this level](https://www.ask-codey.com/glossary?category=git&level=4)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/exclude-pathspec
