libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.58k stars 382 forks source link

Pygit2 Garbage collector method #1211

Open pedroalmeida415 opened 1 year ago

pedroalmeida415 commented 1 year ago

Is there any way to execute a method like git gc --prune=now using pygit2?

It would come in very handy to be able to get rid of unused commits that are lying around using disk space.