$ git clone -n https://gitee.com/src-opencloudos-rpms/sdl12-compat.git /var/lib/mock/dist-oc9-build-48130-14592/root/chroot_tmpdir/scmroot/sdl12-compat Cloning into '/var/lib/mock/dist-oc9-build-48130-14592/root/chroot_tmpdir/scmroot/sdl12-compat'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sdl12-compat * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0d3786f import sdl12-compat-1.2.52-3.tl4