$ git clone -n https://gitee.com/src-anolis-os/xdg-desktop-portal-gtk.git /var/lib/mock/dist-an8-build-81051-41098/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk Cloning into '/var/lib/mock/dist-an8-build-81051-41098/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk'... $ git reset --hard origin/a8 HEAD is now at b929fab update to xdg-desktop-portal-gtk-1.6.0-1.el8.src.rpm