$ git clone -n https://gitee.com/src-opencloudos-rpms/p11-kit.git /var/lib/mock/dist-oc9-build-47455-14592/root/chroot_tmpdir/scmroot/p11-kit Cloning into '/var/lib/mock/dist-oc9-build-47455-14592/root/chroot_tmpdir/scmroot/p11-kit'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/p11-kit * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4c9b9ff import p11-kit-0.24.1-3.tl4