$ git clone -n https://gitee.com/winterddd/zlib.git /mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-489348-74485/root/chroot_tmpdir/scmroot/zlib Cloning into '/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-489348-74485/root/chroot_tmpdir/scmroot/zlib'... $ git fetch origin 6ac15568af22b72c384b530fd0d99cc65eeda3d9:KOJI_FETCH_HEAD From https://gitee.com/winterddd/zlib * [new ref] 6ac15568af22b72c384b530fd0d99cc65eeda3d9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6ac1556 fix source link