$ git clone -n https://gitee.com/src-anolis-os/libreport.git /var/lib/mock/dist-an8.6-build-90055-45246/root/chroot_tmpdir/scmroot/libreport Cloning into '/var/lib/mock/dist-an8.6-build-90055-45246/root/chroot_tmpdir/scmroot/libreport'... $ git reset --hard b84dbd7b211d15f0f87cee09e88d45fa3bf65829 HEAD is now at b84dbd7 init from upstream