$ git clone -n https://gitee.com/src-anolis-os/cmake.git /var/lib/mock/dist-an23-build-215502-61987/root/chroot_tmpdir/scmroot/cmake Cloning into '/var/lib/mock/dist-an23-build-215502-61987/root/chroot_tmpdir/scmroot/cmake'... $ git reset --hard 822f235e6186891e8113abeef9197c8d8971f13e HEAD is now at 822f235 Rebuild on platform-python