$ git clone -n https://gitee.com/src-opencloudos-rpms/double-conversion.git /var/lib/mock/dist-oc9-build-49908-14595/root/chroot_tmpdir/scmroot/double-conversion Cloning into '/var/lib/mock/dist-oc9-build-49908-14595/root/chroot_tmpdir/scmroot/double-conversion'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/double-conversion * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at de660da import double-conversion-3.1.5-3.tl4