$ git clone -n https://gitee.com/src-anolis-os/libssh.git /var/lib/mock/dist-an23-build-250895-63396/root/chroot_tmpdir/scmroot/libssh Cloning into '/var/lib/mock/dist-an23-build-250895-63396/root/chroot_tmpdir/scmroot/libssh'... $ git reset --hard origin/a23 HEAD is now at f5fe5e9 optimise spec file