$ git clone -n https://gitee.com/src-anolis-os/cdrkit.git /var/lib/mock/dist-an8-build-73911-38952/root/chroot_tmpdir/scmroot/cdrkit Cloning into '/var/lib/mock/dist-an8-build-73911-38952/root/chroot_tmpdir/scmroot/cdrkit'... $ git reset --hard origin/a8 HEAD is now at 909b99a this change has given better compatible with both gcc8 and gcc10 toolchain, should be maintained util upstream fixes