$ whoami root $ git clone -n http://8.131.229.236/anolis-os/xdg-desktop-portal-gtk /var/lib/mock/dist-el8-build-6696-152/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk Cloning into '/var/lib/mock/dist-el8-build-6696-152/root/chroot_tmpdir/scmroot/xdg-desktop-portal-gtk'... $ git reset --hard origin/a8 HEAD is now at 3749b5b import xdg-desktop-portal-gtk-1.4.0-1.el8.src.rpm