$ git clone -n https://gitee.com/idolsama/pcp.git /var/lib/mock/dist-an23-build-326568-68995/root/chroot_tmpdir/scmroot/pcp Cloning into '/var/lib/mock/dist-an23-build-326568-68995/root/chroot_tmpdir/scmroot/pcp'... $ git reset --hard 2cebd7cae56391f8fe10faa27549ed1546904ab6 HEAD is now at 2cebd7c fix build error for riscv64