$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libXxf86misc.git /var/lib/mock/dist-an7-build-32177-15929/root/chroot_tmpdir/scmroot/libXxf86misc Cloning into '/var/lib/mock/dist-an7-build-32177-15929/root/chroot_tmpdir/scmroot/libXxf86misc'... $ git reset --hard origin/a7 HEAD is now at 1bc9cd8 import libXxf86misc-1.0.3-7.1.el7.src.rpm