1
9
如图所示
this thread
,你可以在颠覆侧有钩子,它实际上可以拒绝你的
但是如果你需要Git端的Git钩子,我建议你设置一个中间
bare
Git repository
(裸露,便于推/拉)。
(2年后) David Souther 提出解决方案 his blog (2012年4月)
退房 his gist . |
2
3
https://github.com/hkjels/.dotfiles/blob/master/zsh/git-svn.zsh 如果您使用zsh,我相信这是git svn的一个好伴侣。只需将钩子放在.git/hooks中,并在命令前面加上svn-。 例如,“Git/Hooks/Post Svn Rebase” 该脚本还允许使用别名 |
3
0
有一个Git远程简历 remote helper 在工作中;可能有人会为SVN做同样的事情。在调用这些助手之前和之后,应该调用远程操作的普通钩子。 |
blackbird · 从git-svn克隆中排除文件 9 年前 |
cyclobster · 将现有项目并入现有git回购 9 年前 |
Hackse · 将复杂SVN存储库迁移到GIT 10 年前 |
Mostafa Shahverdy · git:合并分支日志 11 年前 |
Kapil Arya · git-svn和更新的svn-url 11 年前 |