$ git clone -n https://gitee.com/guost123/libssh2.git /var/lib/mock/dist-an23.3-build-431472-73055/root/chroot_tmpdir/scmroot/libssh2 Cloning into '/var/lib/mock/dist-an23.3-build-431472-73055/root/chroot_tmpdir/scmroot/libssh2'... $ git fetch origin 311ab00a29cff3961b5cf3b45acf2c8804b600e9:KOJI_FETCH_HEAD From https://gitee.com/guost123/libssh2 * [new ref] 311ab00a29cff3961b5cf3b45acf2c8804b600e9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 311ab00 adapt fir riscv64