$ git clone -n https://gitee.com/src-opencloudos-rpms/units.git /var/lib/mock/dist-oc9-build-45365-14591/root/chroot_tmpdir/scmroot/units Cloning into '/var/lib/mock/dist-oc9-build-45365-14591/root/chroot_tmpdir/scmroot/units'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/units * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 342632c import units-2.22-3.tl4