$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gedit-plugins.git /var/lib/mock/dist-an7-build-27718-15193/root/chroot_tmpdir/scmroot/gedit-plugins Cloning into '/var/lib/mock/dist-an7-build-27718-15193/root/chroot_tmpdir/scmroot/gedit-plugins'... $ git reset --hard origin/a7 HEAD is now at 86729a6 import gedit-plugins-3.28.1-1.el7.src.rpm