$ git clone -n https://gitee.com/src-anolis-os/xdg-desktop-portal-gtk.git /var/lib/mock/dist-an8.7-build-269719-64112/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk Cloning into '/var/lib/mock/dist-an8.7-build-269719-64112/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk'... $ git reset --hard origin/a8 HEAD is now at 1bfd082 update to xdg-desktop-portal-gtk-1.12.0-3.el9.src.rpm