$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libao.git /var/lib/mock/dist-an7-build-31666-15784/root/chroot_tmpdir/scmroot/libao Cloning into '/var/lib/mock/dist-an7-build-31666-15784/root/chroot_tmpdir/scmroot/libao'... $ git reset --hard origin/a7 HEAD is now at 467aaac import libao-1.1.0-8.el7.src.rpm