$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/lldpad.git /var/lib/mock/dist-an7-build-32209-15939/root/chroot_tmpdir/scmroot/lldpad Cloning into '/var/lib/mock/dist-an7-build-32209-15939/root/chroot_tmpdir/scmroot/lldpad'... $ git reset --hard origin/a7 HEAD is now at a1ee0e1 import lldpad-1.0.1-5.git036e314.el7.src.rpm