$ git clone -n https://gitee.com/src-opencloudos-rpms/realmd.git /var/lib/mock/dist-oc8-build-81016-54511/root/chroot_tmpdir/scmroot/realmd Cloning into '/var/lib/mock/dist-oc8-build-81016-54511/root/chroot_tmpdir/scmroot/realmd'... $ git fetch origin e7db62a9d82b1771fc9c31914e68c59d0efcc18d:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/realmd * [new ref] e7db62a9d82b1771fc9c31914e68c59d0efcc18d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e7db62a import realmd-0.17.1-2.tl3