$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libpipeline.git /var/lib/mock/dist-an7-build-31940-15844/root/chroot_tmpdir/scmroot/libpipeline Cloning into '/var/lib/mock/dist-an7-build-31940-15844/root/chroot_tmpdir/scmroot/libpipeline'... $ git reset --hard origin/a7 HEAD is now at ac77755 import libpipeline-1.2.3-3.el7.src.rpm