$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libusnic_verbs.git /var/lib/mock/dist-an7-build-28970-15333/root/chroot_tmpdir/scmroot/libusnic_verbs Cloning into '/var/lib/mock/dist-an7-build-28970-15333/root/chroot_tmpdir/scmroot/libusnic_verbs'... $ git reset --hard origin/a7 HEAD is now at ef9b600 import libusnic_verbs-2.0.3-1.el7.src.rpm