we needed to convert CVS to GIT yesterday. Everything went fine except that I didn’t had modules in my CVS therefore I didn’t know what module to check out as descibed here.
With the help of another tutorial everything worked fine.
I sued CVSROOT (immediate direcotry under $CVSROOT) as module name and everything worked fine.
After cloning the git repository now, I can see all the files in Eclipse (Egit).
But when I look in the created git folder I only see the following folders/files
braches (folder)
config
description
HEAD
hooks (folder)
index
info (folder)
logs (folder)
objects (folder)
refs (folder)
where can I find the actual files that in the git repository e.g. (PHP/CSS/Javascript files).
Is there eventually a link somewhere in the Git files to my “old” CVS files?
Hope somebody can help.
Regards
Jeremy
Those files (branches, config, etc.) are the actual git repository. You need to use the
clonecommand to checkout the repository into a sandbox you can use:where
my_repois the directory containing those files. Themy_sandboxdirectory will be created and will contain the your original CVS files (probably from the HEAD branch, depending on how you did your CVS import).(Incidentally, once your sandbox is checked out, there will be a
.gitdirectory in it containing the same file structure as those files. This allows Git to work in a completely distributed manner and will allow you to switch to different branches and commit changes without the need to be constantly connected to a network.)