I have lost my local backup of repositories..how can I pull all data of that Repositories to a new dir...?I am using the software SmartGit to do actions..
Asked
Active
Viewed 186 times
1 Answers
2
Uhm, maybe I did not understand the question correctly, but isn't a git clone
of each repository the solution?
Edit after your comments: I've found this solution, see if it works fo you GIT clone repo across local file system in windows
To sum up you could try doing a git clone file:////127.0.0.1/code

Community
- 1
- 1

Alberto Zaccagni
- 30,779
- 11
- 72
- 106
-
i lost every thing in my local , i have a repos name AA , i just want to copy/clone all the data of AA so that i can work like previously..when i do clone , it shoes that 'i hv colned an empty repos..' – Sarath Aug 01 '11 at 12:58
-
So... if AA is the repository you want your work from, you could do `git clone AA`. Or... if you have the files but not the git repository you could do `git init .` once inside the directory. Remember to copy your old `.git/config` into your new `.git/config` – Alberto Zaccagni Aug 01 '11 at 13:00
-
yes... i think i miss something in cmd line... these are the cmds i typed: cd AA; git clone AA -l; – Sarath Aug 01 '11 at 13:09