0

私は問題を抱えていて、それを理解することができず、何日も研究し、多くの組み合わせと方法を試してきましたが、これを理解できないようです.

Atlassian Stash を自己ホスト型の git 中央リポジトリとして使用しています。 https://www.atlassian.com/software/stash

また、Dploy を使用して、FTP 経由で変更をデプロイします。 http://leanmeanfightingmachine.github.io/dploy/

Dploy は、次のように .git/hooks/ フォルダーに独自のポストコミット フックを作成します。

#!/bin/bash
# DPLOY
message=$(git log -1 --all --pretty=%B)
tag="#dploy"
if [[ "$message" = *"$tag"* ]]; then
    servers=${tag}${message#*${tag}}
    noTag=${servers//#/""}
    eval $noTag
fi

cli から明示的に dploy を実行すると、正常に実行されて終了します。すべてうまくいきます。以下のコマンド:

dploy dev

ただし、次のようにコミットすると:

commit -m "#dploy dev - Initial commit"

スタックしてしまい (キーボード入力を受け付けません)、そこから抜け出すには Ctrl+C を押さなければなりません。

[ Wed Jun 11 2014  11:58:29  macbook as chris @ ami] git commit -m     "#dploy dev"
Connecting to dev...
Checking revisions...
Checking diffs between [4361308e87183d8dfaf556da3182dd1095f58486] >     [dd70f1cf70957e9e672cd371499fb4183a9d8b3b]
Files that will be uploaded:
[ ? ] .rev > public_html/ami/.rev
[ ? ] test.txt > public_html/ami/test.txt
[ ? ] .rev > public_html/ami/.rev
– Are you sure you want to upload those files? (Y/n) 

おそらく非常に具体的な問題です-誰かがこれを経験したか、解決策を見つけましたか?

ありがとう、クリス

4

1 に答える 1

1

開発者が提供する修正:

https://github.com/LeanMeanFightingMachine/dploy/issues/54

于 2014-06-11T14:13:30.007 に答える