搜索

首页  >  问答  >  正文

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 天前583

全部回复(0)我来回复

暂无回复
  • 取消回复