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