I have never used git cvsimport
but it is clear from the documentation that it can be used incrementally, i.e., you can import some CVS repository, then later import any changes since the previous import. The -r
switch and the names created from it are clearly intended for cvsimport's own internal use: when you do an incremental import, cvsimport uses something(s) stored in the origin
branch(es) (or whatever name you choose here) to allow it to import only new changesets deduced by cvsps
.
As the documentation says:
If you are performing a one-shot import of a CVS repository consider using cvs2git or cvs-fast-export.
These do not need special branches containing whatever it is that cvsimport
stores there. They won't create an origin
name that kind of gets in the way when you want to create a remote named origin
.
(Incidentally, Git is just fine with having both a branch named origin
, and a remote named origin
. Remote-tracking names live in the refs/remotes/
namespace while branch names live in the refs/heads/
namespace, so these will never collide; and the remote names themselves live only in the configuration file. It's only the shortened names, like origin/master
, that Git uses for human convenience and comprehension that collide here. But this is very confusing to humans, who want to use the shortened names.)