$ git clone -n https://gitee.com/src-anolis-os/cheese.git /var/lib/mock/dist-an8.6-build-94912-45467/root/chroot_tmpdir/scmroot/cheese Cloning into '/var/lib/mock/dist-an8.6-build-94912-45467/root/chroot_tmpdir/scmroot/cheese'... $ git reset --hard f6475dec6b6068310bcec5169595160eaf4b4b92 HEAD is now at f6475de update to cheese-3.28.0-4.el8_6.src.rpm