[英]Git cvsimport a specific tag
Upon using below command:使用以下命令时:
git cvsimport -C MYGITBRANCH -r cvs -k -v -d ${DESTDIR} MYCVSMODULE
I was successfully able to import my master branch with all history.我成功地导入了包含所有历史记录的主分支。 Where DESTDIR is the cvs repo url.其中 DESTDIR 是 cvs 存储库 url。
Now I am trying to use this command to import a specific branch which was tagged from above module.现在我正在尝试使用此命令导入从上述模块标记的特定分支。 I searched on git cvsimport documentation at https://git-scm.com/docs/gitcvs-migration but failed to help myself.我在https://git-scm.com/docs/gitcvs-migration上搜索了 git cvsimport 文档,但未能帮助自己。
Pls guide me If you have ever experienced/achieved this.如果您曾经经历过/实现过这一点,请指导我。
Cvsimport should import all branches. cvsimport 应该导入所有分支。 Check your new git repo.检查您的新 git 存储库。 You should have a branch for every CVS branch.每个 CVS 分支都应该有一个分支。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.