$ git clone -n https://gitee.com/src-anolis-os/trace-cmd.git /var/lib/mock/dist-an8-build-74176-38994/root/chroot_tmpdir/scmroot/trace-cmd Cloning into '/var/lib/mock/dist-an8-build-74176-38994/root/chroot_tmpdir/scmroot/trace-cmd'... $ git reset --hard origin/a8 HEAD is now at 1f81da9 fix gcc10 build issue