Git · Senior · Question 38 of 76

What does git clone --mirror produce?

Explanation

A mirror copies every ref (including notes and PR refs) and git push --mirror reproduces them elsewhere. It's how you move a repository between hosts.

Further reading

Problem with a question

Git · Senior · question 38

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz