$ git clone -n https://gitee.com/src-opencloudos-rpms/kbd /var/lib/mock/dist-oc8-build-58239-16245/root/chroot_tmpdir/scmroot/kbd Cloning into '/var/lib/mock/dist-oc8-build-58239-16245/root/chroot_tmpdir/scmroot/kbd'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/kbd * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b43bc65 import kbd-2.0.4-11.tl3