$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gnome-session.git /var/lib/mock/dist-an8.4-build-20099-8822/root/chroot_tmpdir/scmroot/gnome-session Cloning into '/var/lib/mock/dist-an8.4-build-20099-8822/root/chroot_tmpdir/scmroot/gnome-session'... $ git reset --hard origin/a8 HEAD is now at 41d69e9 update to gnome-session-3.28.1-10.el8.src.rpm