search

Home  >  Q&A  >  body text

sina-app-engine - 用git-svn 提交代码到SAE

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

#!/bin/bash
PROJ=greader

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

username=amoblin@gmail.com

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:...

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

高洛峰高洛峰2800 days ago578

reply all(0)I'll reply

No reply
  • Cancelreply