$ git clone -n https://gitee.com/ocs-bot/tpm2-tools.git /var/lib/mock/dist-ocs23-build-172228-10545/root/chroot_tmpdir/scmroot/tpm2-tools Cloning into '/var/lib/mock/dist-ocs23-build-172228-10545/root/chroot_tmpdir/scmroot/tpm2-tools'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/tpm2-tools * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6bba352 Upgrade to version 5.7