Possible Duplicates:
How to export revision history from mercurial or git to cvs? Best practices for using git with CVS
I have to make a number of changes to a CVS project. These changes cannot be c开发者_开发技巧hecked in for some time and it's infeasible to create a branch either.
It occurs to me that I could track changes by creating a git project over the top of my CVS snapshot. I can commit my changes to git as I go along and at the end, trivially produce a patch from which I can make a checkin or handoff to someone else.
Is this feasible to do? The biggest issue for me is that I want git to ignore the CVS/ folders and also the bin/ folders where binaries are created. Is this possible to do in some simple fashion.
It's completely possible, just go ahead and create a git repository in the directory, adding the exclusions to .gitignore
. As you're just using it as a scratch repo, you don't even need to run an import.
精彩评论