$ git clone -n https://gitee.com/src-opencloudos-rpms/sdl12-compat.git /var/lib/mock/dist-oc9-build-62246-16463/root/chroot_tmpdir/scmroot/sdl12-compat Cloning into '/var/lib/mock/dist-oc9-build-62246-16463/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 231cd93 import sdl12-compat-1.2.60-3.tl4