$ git clone -n https://gitee.com/src-opencloudos-rpms/cmake.git /var/lib/mock/dist-oc8-build-38757-12681/root/chroot_tmpdir/scmroot/cmake Cloning into '/var/lib/mock/dist-oc8-build-38757-12681/root/chroot_tmpdir/scmroot/cmake'... $ git reset --hard origin/oc8 HEAD is now at a8871ac import cmake-3.20.2-5.tl3