$ git clone -n https://gitee.com/src-anolis-os/libportal.git /mnt/mock/kojid//dist-an23.3-riscv-build-437372-73130/root/chroot_tmpdir/scmroot/libportal Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437372-73130/root/chroot_tmpdir/scmroot/libportal'... $ git fetch origin f700e229fbd2d0022d00378d77d9e18ea342b32c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libportal * [new ref] f700e229fbd2d0022d00378d77d9e18ea342b32c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f700e22 Update to 0.9.0 from 0.6