$ git clone -n https://gitee.com/src-opencloudos-rpms/xdg-desktop-portal /var/lib/mock/dist-oc8-build-31985-9298/root/chroot_tmpdir/scmroot/xdg-desktop-portal Cloning into '/var/lib/mock/dist-oc8-build-31985-9298/root/chroot_tmpdir/scmroot/xdg-desktop-portal'... $ git reset --hard origin/oc8 HEAD is now at 84893bf import xdg-desktop-portal-1.8.1-1.oc8