$ git clone -n https://gitee.com/ocs-bot/tss2.git /var/lib/mock/dist-ocs23-build-116712-8133/root/chroot_tmpdir/scmroot/tss2 Cloning into '/var/lib/mock/dist-ocs23-build-116712-8133/root/chroot_tmpdir/scmroot/tss2'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-bot/tss2 * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 79a6a32 rm tss2-1.6.0-manpage-cleanup.patch