S
S
Sergey2014-07-04 16:30:49
git
Sergey, 2014-07-04 16:30:49

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

1 answer(s)
I
Ivan Starkov, 2014-07-04
@liaren

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 question

Ask a Question

731 491 924 answers to any question