Assertion on creating or adding files in bare repositories · Issue #59 · gitpython-developers/GitPython
I can create new files from in-memory bytestreams in non-bare repositories easily enough: repo = git.Repo (repopath) istream = IStream ("blob", len (filedata), StringIO (filedata)) repo.odb.store (...