$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gnome-shell.git /var/lib/mock/dist-an7-build-38101-18130/root/chroot_tmpdir/scmroot/gnome-shell Cloning into '/var/lib/mock/dist-an7-build-38101-18130/root/chroot_tmpdir/scmroot/gnome-shell'... $ git reset --hard origin/a7 HEAD is now at b08f277 update to gnome-shell-3.28.3-14.el7_7.src.rpm