How to clone git to a server?

My git server crashed, I have a backup of files that were present on the git server, How do I recover my files?

  • I don't have access to my git server, I just have a copy of directory on my git server .... I need a way to recover my files from that directory ... I can see only binday hashes in the directory.

  • Answer:

    Wait, so you have the bare git repositories? If so, you can just do "git clone directory-path".

Zhehao Mao at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.