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