0
我试图用cron作业更新git svn回购(git svn rebase),但是我得到了这个错误。无法通过cron作业重新绑定git svn回购
usage: git-cat-file [-t|-s|-e|-p|<type>] <sha1>
error closing pipe: Broken pipe at /usr/local/libexec/git-core//git-svn line 4290
cat-file --batch: command returned error: 129
我已经在cron脚本中添加了git路径,似乎没有帮助。
export PATH=$PATH:/usr/local/libexec/git-core/
当我用bash登录时,git svn rebase正常工作。我还应该做些什么才能使其作为cron job运行?