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