我有gitolite和当前创建的测试存储库和配置的用户权限,一切正常.
我现在想要的是使用git cvsimport将cvs存储库迁移到git.我有新迁移的存储库.我如何通过gitolite配置此存储库并为此存储库配置用户?
请指导我正确的方向!!
Von*_*onC 10
您需要克隆gitoite-adin repo,并声明一个新的repo:
请参阅" 添加和删除repos "
完成后,您将添加到您的exisintg本地git仓库(其中包含CVS导入的仓库)一个新的远程:
git remote add gitolite git@server:to
Run Code Online (Sandbox Code Playgroud)
(如果需要,可以命名远程原点)
然后你会把你的本地回购推送到由gitolite管理的回购:
git push gitolite master # to initialize the remote repo with master branch
git push gitolite --all # to push all branches
git push gitolite --tags # to push all tags
Run Code Online (Sandbox Code Playgroud)
(git push --all如" 使用GitHub,如何在添加现有仓库时推送所有分支? ")