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