$ git clone -n https://gitee.com/src-anolis-os/libnbd.git /mnt/mock/kojid//dist-an23.3-riscv-build-437343-73130/root/chroot_tmpdir/scmroot/libnbd Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437343-73130/root/chroot_tmpdir/scmroot/libnbd'... $ git fetch origin 34e67dc1910c1042d7f13f0f4b43f97c8cb3ae18:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libnbd * [new ref] 34e67dc1910c1042d7f13f0f4b43f97c8cb3ae18 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 34e67dc Update to 1.20.3 from 1.18.5