0

I want to perform a git archive using node-git.

A feature of git-archive is that it excludes from archive the patterns set with export-ignore inside .gitattributes.

What would be a simple way to perform a git-archive operation using nodegit api?

Marinos An
  • 9,481
  • 6
  • 63
  • 96
  • It looks like there is a [`pathIsIgnored`](https://www.nodegit.org/api/ignore/#pathIsIgnored) method you could use to implement this behavior. – larsks Jan 12 '23 at 16:43

0 Answers0