Answer the question
In order to leave comments, you need to log in
What is the difference between git clone --bare and --mirror?
There is a task to clone a public repository into a private one so that later you can merge changes from a public one into a private one (only the master, without brunches, unilaterally).
Answer the question
In order to leave comments, you need to log in
bare repository does not contain source code - only the .git folder
is used mainly on the server (it makes no sense for the server to also store uncompressed sources)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question