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