I have a server on which I have a bare repository for pushing. However, my server needs to have a working copy of the master branch.
How do I get a working copy and
A bare repository is just the .git directory of a working directory, and an entry in the local config file. What I did to convert a bare repository into a full one is:
.git
and move all files from the bare repository in there.git/config
file to change bare = true
to bare = false
You could set the Hidden attribute on the .git
directory on Windows, but not on the files inside the directory.