Bitrise.ioのgit-cloneモジュールを使用する際
git checkout [HASH値]
ではなく
git checkout [ブランチ名]
でチェックアウトしたい。
ハッシュ値を使用してcheckoutした場合
ブランチ名を使用してcheckoutした場合
方法
コミットのハッシュ値が設定されていると、ブランチ名よりもハッシュ値が優先して使用されるため。
Clone Config
のGit Commit to clone
を空にする。
参考
Clones a repository based on the provided inputs.
If pull_request_id is provided then all other git checkout parameters will be ignored. If a git commit is provided it will ignore the tag and branch parameters. If no git commit but a tag is provided then it will ignore the branch parameter. If no branch parameter is provided then it'll skip git checkout.