$ git clone -n https://gitee.com/src-opencloudos-rpms/bolt.git /var/lib/mock/dist-oc9-build-69534-47303/root/chroot_tmpdir/scmroot/bolt Cloning into '/var/lib/mock/dist-oc9-build-69534-47303/root/chroot_tmpdir/scmroot/bolt'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/bolt * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a6dbc21 import bolt-0.9.5-2.tl4