$ git clone -n https://gitee.com/src-anolis-os/cheese.git /var/lib/mock/dist-an8_6-build-95047-45483/root/chroot_tmpdir/scmroot/cheese Cloning into '/var/lib/mock/dist-an8_6-build-95047-45483/root/chroot_tmpdir/scmroot/cheese'... $ git reset --hard origin/a8 HEAD is now at f6475de update to cheese-3.28.0-4.el8_6.src.rpm