$ git clone -n https://gitee.com/leeffo/sane-backends.git /var/lib/mock/dist-an8.7-build-174241-59031/root/chroot_tmpdir/scmroot/sane-backends Cloning into '/var/lib/mock/dist-an8.7-build-174241-59031/root/chroot_tmpdir/scmroot/sane-backends'... $ git reset --hard origin/a8-poc HEAD is now at 6a9c8ca update to sane-backends-1.0.32-7.el9.src.rpm