$ git clone -n https://gitee.com/guost123/libssh2.git /var/lib/mock/dist-an23.3-build-431985-73058/root/chroot_tmpdir/scmroot/libssh2 Cloning into '/var/lib/mock/dist-an23.3-build-431985-73058/root/chroot_tmpdir/scmroot/libssh2'... $ git fetch origin 0f3cc61a8fe1bbd7c5f21bcbcbfb15bbb5e3e12d:KOJI_FETCH_HEAD From https://gitee.com/guost123/libssh2 * [new ref] 0f3cc61a8fe1bbd7c5f21bcbcbfb15bbb5e3e12d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0f3cc61 adapt for riscv64