$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libuser.git /var/lib/mock/dist-an7-build-28968-15333/root/chroot_tmpdir/scmroot/libuser Cloning into '/var/lib/mock/dist-an7-build-28968-15333/root/chroot_tmpdir/scmroot/libuser'... $ git reset --hard origin/a7 HEAD is now at 7d93b30 import libuser-0.60-9.el7.src.rpm