$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libssh2.git /var/lib/mock/dist-an7-updates-build-43078-21668/root/chroot_tmpdir/scmroot/libssh2 Cloning into '/var/lib/mock/dist-an7-updates-build-43078-21668/root/chroot_tmpdir/scmroot/libssh2'... $ git reset --hard origin/a7 HEAD is now at e99bd6c update to libssh2-1.8.0-4.el7.src.rpm