$ git clone -n https://gitee.com/src-opencloudos-rpms/sundials.git /var/lib/mock/dist-oc9-epol-build-56221-14803/root/chroot_tmpdir/scmroot/sundials Cloning into '/var/lib/mock/dist-oc9-epol-build-56221-14803/root/chroot_tmpdir/scmroot/sundials'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sundials * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 605a14d import sundials-6.5.1-1.tl4