$ git clone -n https://gitee.com/src-anolis-os/gnome-shell.git /var/lib/mock/dist-an8-build-74656-39097/root/chroot_tmpdir/scmroot/gnome-shell Cloning into '/var/lib/mock/dist-an8-build-74656-39097/root/chroot_tmpdir/scmroot/gnome-shell'... $ git reset --hard origin/a8 HEAD is now at 5e28881 update to gnome-shell-3.32.2-40.el8