$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gnome-desktop3.git /var/lib/mock/dist-an7-build-27807-15198/root/chroot_tmpdir/scmroot/gnome-desktop3 Cloning into '/var/lib/mock/dist-an7-build-27807-15198/root/chroot_tmpdir/scmroot/gnome-desktop3'... $ git reset --hard origin/a7 HEAD is now at 9f1b1e6 import gnome-desktop3-3.28.2-2.el7.src.rpm