All Questions
1 question
1
vote
1
answer
364
views
Download files temporarily from a git repo - leaves orphaned git process
I want to get the contents of a git repo into a temporary directory so I can copy the files I need elsewhere and then delete the rest. I've done this:
import git
import contextlib
import tempfile
@...