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