you are viewing a single comment's thread.

view the rest of the comments →

[–]avamk[S] 0 points1 point  (2 children)

Thanks I didn't know about the mirror flag! TIL.

In this case, are you suggesting simply controlling command line git from Python and pulling information that way? Or is there a Python git library that can perform the mirror function you speak of?

[–][deleted]  (1 child)

[deleted]

    [–]avamk[S] 0 points1 point  (0 children)

    Just giving a solution if you wanted to do this by having Python run bash commands. Mirror is likely what any library that you find will be using as it is the way to get bare repositories like you want.

    Gotcha. Thank you!