$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gnome-software.git /var/lib/mock/dist-an7-build-31250-15705/root/chroot_tmpdir/scmroot/gnome-software Cloning into '/var/lib/mock/dist-an7-build-31250-15705/root/chroot_tmpdir/scmroot/gnome-software'... $ git reset --hard origin/a7 HEAD is now at ddd0721 import gnome-software-3.28.2-3.el7.src.rpm