$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/redhat-menus.git /var/lib/mock/dist-an7-build-39502-19392/root/chroot_tmpdir/scmroot/redhat-menus Cloning into '/var/lib/mock/dist-an7-build-39502-19392/root/chroot_tmpdir/scmroot/redhat-menus'... $ git reset --hard origin/a7 HEAD is now at 2f74c24 import redhat-menus-12.0.2-8.el7.src.rpm