Skip to content

Clone from URL (Repo is empty), but the property bare return false. #1169

Answered by Byron
dota17 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1084 on February 26, 2021 11:18.