$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gnome-shell-extensions.git /var/lib/mock/dist-an7-build-27857-15204/root/chroot_tmpdir/scmroot/gnome-shell-extensions Cloning into '/var/lib/mock/dist-an7-build-27857-15204/root/chroot_tmpdir/scmroot/gnome-shell-extensions'... $ git reset --hard origin/a7 HEAD is now at 89f9920 update to gnome-shell-extensions-3.28.1-7.el7.src.rpm