用git-svn 提交代码到SAE


下载SAE的SVN库并转为Git库:


 #!/bin/bash
PROJ=greader

svnurl=https://svn.sinaapp.com/${PROJ}/

[email protected]

git svn clone ${svnurl} --username ${username}
#git svn clone ${svnurl} --username ${username} ${dirname}

本地修改并提交(git commit)后,提交到SAE:


 $ git svn dcommit
Committing to https://svn.sinaapp.com/greader ...
...
A repository hook failed: Commit blocked by pre-commit hook (exit code 1) with output:...

什么问题呢?大家有成功的吗?

sina-app-engine svn git

渚熏不是基老 11 years, 8 months ago

Your Answer