0

I need to convert a local bare git repository to another form where I can see the actual files. My repository is roughly 13.5GB in size. Essentially, the repository is in a state in which it would be if it were hosted on a remote server.

I have a repository structure like the following:

- gitrepo
  - repo
    -branches
    -hooks
    -info
    -objects
    -refs
    -HEAD (file)
    -Description (file)
    -config (file)

When inspecting the folder in git bash, the gitrepo folder is master, and the repo folder is BARE:master.

I understand the git-clone command should be used to complete this action, but, when I git-clone each of the gitrepo and repo folders to another directory, I get the message saying I have cloned an empty directory.

Idris.AH
  • 410
  • 1
  • 10
  • 22
  • 1
    Is [this previous question](https://stackoverflow.com/questions/10637378/how-do-i-convert-a-bare-git-repository-into-a-normal-one-in-place) helpful? – evolutionxbox Feb 21 '18 at 09:28
  • Not quite, I still couldn't see the files. Not sure what I'm doing wrong... – Idris.AH Feb 21 '18 at 10:02

0 Answers0