$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libnetfilter_queue.git /var/lib/mock/dist-an7-build-31897-15829/root/chroot_tmpdir/scmroot/libnetfilter_queue Cloning into '/var/lib/mock/dist-an7-build-31897-15829/root/chroot_tmpdir/scmroot/libnetfilter_queue'... $ git reset --hard origin/a7 HEAD is now at edaff0a import libnetfilter_queue-1.0.2-2.el7_2.src.rpm