Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (11 sloc) 395 Bytes

Restoring Git repositories

How a bare repository looks like

It contains a few folders (objects, refs...) and some files:

restore-git-folder.png

How to restore

Clone the bare repository into a "regular" one:

git clone bare-repo working-repo

working-repo will have a working directory.