$ git clone -n https://gitee.com/src-opencloudos-rpms/units.git /var/lib/mock/dist-oc9-build-72190-47657/root/chroot_tmpdir/scmroot/units Cloning into '/var/lib/mock/dist-oc9-build-72190-47657/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 133a5bb import units-2.22-4.tl4