1
我有一个gitolite3的git服务器,但我也需要在SVN服务器上镜像我的仓库。有没有办法用post-receive hook或其他方法做到这一点?Gitolite在SVN服务器上镜像
我有一个gitolite3的git服务器,但我也需要在SVN服务器上镜像我的仓库。有没有办法用post-receive hook或其他方法做到这一点?Gitolite在SVN服务器上镜像
您可以在miracle2k/gitolite-simple-mirror
中找到类似的想法,使用兼容gitolite的post-receive钩子。
由于它是用于在GitHub(而不是SVN)中镜像git repo,所以可以使用“Maintaining a Read-Only svn Mirror of a git Repository”中的指令(仍然在同一个post-receive hook中)。