#2 楼@pinewong 你可以用 mina deploy -S 来查看一下具体的 git 命令,然后针对性执行一下,这样来查明原因。
if[!-d"/home/ruby/wblog/scm/objects"];thenecho"-----> Cloning the Git repository"gitclone"[email protected]:windy/wblog.git""/home/ruby/wblog/scm"--bareelseecho"-----> Fetching new git commits"(cd"/home/ruby/wblog/scm"&&gitfetch"[email protected]:windy/wblog.git""master:master"--force)fi&&echo"-----> Using git branch 'master'"&&gitclone"/home/ruby/wblog/scm".--recursive--branch"master"&&echo"-----> Using this git commit"&&echo&&gitrev-parseHEAD>.mina_git_revision&&git--no-pagerlog--format='%aN (%h):%n> %s'-n1&&rm-rf.git&&echo