Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Closed
Description
In the following code you are not able to supply what paths you would like to archive (and not all the repo).
repo = git.Repo("/git/repo")repo.archive(ostream=temparchive, treeish="master", format="tar")
Meanwhile, if you use the git archive command you can suplly what paths you would like to archive.
An extra kw args could be the list of paths you want in the tar file.