-
Example, I just clone from URL : https://github.com/apache/incubator-argus. Maybe it is a BUG. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I believe the issue here may be a misunderstanding of what a bare repository is, as any repository can be a bare clone if it was cloned with |
Beta Was this translation helpful? Give feedback.
-
How we can use gitpython to check an empty repo? |
Beta Was this translation helpful? Give feedback.
-
You could indeed clone a bare repository and then have a look at the tree at the branch of interest - it represents the top-level directory. |
Beta Was this translation helpful? Give feedback.
I believe the issue here may be a misunderstanding of what a bare repository is, as any repository can be a bare clone if it was cloned with
bare=true
or--bare
respectively.The
bare
flag has nothing to do with the repository being empty.