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