$ git clone -n https://gitee.com/src-opencloudos-rpms/sane-backends.git /var/lib/mock/dist-oc9-build-51574-14595/root/chroot_tmpdir/scmroot/sane-backends Cloning into '/var/lib/mock/dist-oc9-build-51574-14595/root/chroot_tmpdir/scmroot/sane-backends'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sane-backends * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e3533a5 import sane-backends-1.1.1-4.tl4