Join Discord
Powered by
til: git `pathspec` can be used to filter out file...
# today-i-learned
k
kevins8
08/21/2022, 9:16 PM
til: git
pathspec
can be used to filter out files during git add/diff/etc
Copy code
sh # exclude markdown in diff git diff -- ':(exclude)*.md'
https://git-scm.com/docs/gitglossary#gitglossary-aiddefpathspecapathspec
Previous
Next