I’m in the process of moving our CVS database over to Git. The move requires me to rethink some configurations and procedures. One of the challenges that I’m working with is that tags applies to the complete repository in Git while in CVS they can apply to a single file.
I have used CVS mainly for source code, but I have also used it for other types of files. One application that I have used CVS for and that I now want to use Git for, is version control of drawings for part numbers.
In CVS I had one module with a few hundred subfolders. Each subfolder contained drawings for one part. I would tag each folder with the revision of the drawings for that part. There was no correlation between the revisions of the drawings for the different parts.
One solution to accomplish the same thing in Git would be to make a few hundred repositories, one for each part, but this has some drawbacks. For example, it would be difficult to clone the complete part library/module to my local computer. I think that that I would have to clone each repository manually to do this.
Is there a better solution for setting something like this up in Git? Is there a different type of tag that I can apply to only a selection of files? Is there a way to clone all repositories with one command?
Thanks for your help!