Creating a bare clone from an already existing repository using GUI is an easy process. All you need to do is:
Copy the
.git
directory from the existing repository and paste it with adifferent_name.git
(whatever name you want to give to your new bare repository) outside the repository.In our case we have a non bare repo called
Workbench
atC:\Users\raviepic3\Desktop\
inside which we havecontent.docx
. And now I want to create a new bare repository from this using GUI. I'll copyC:\Users\raviepic3\Desktop\Workbench\.git
and paste it asC:\generic_share\Bare_Workbench.git
.Open the
config
file insideBare_Workbench.git
with a text editor and find the line which saysbare = false
and replace the stringfalse
withtrue
.Save and exit.