$ git clone -n https://gitee.com/src-opencloudos-rpms/diskimage-builder.git /var/lib/mock/dist-oc9-epol-build-53413-14768/root/chroot_tmpdir/scmroot/diskimage-builder Cloning into '/var/lib/mock/dist-oc9-epol-build-53413-14768/root/chroot_tmpdir/scmroot/diskimage-builder'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/diskimage-builder * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b942b49 import diskimage-builder-3.7.0-2.tl4