特定のブランチからマージする場合にのみ実行されるマージ後のフック スクリプトを作成しようとしています。特定のコミットのブランチ変更の名前を特定するにはどうすればよいですか?
例えば
if $from_specific_branch == 1 then
git diff --name-status HEAD@{1} HEAD "some_folder" |
while read st file; do
#skip deleted
if [ "$st" == 'D' ]; then continue; fi
# .. do something with those files
end