$ git clone -n https://gitee.com/src-anolis-os/beakerlib.git /mnt/mock/kojid//dist-an23.3-riscv-build-435776-73130/root/chroot_tmpdir/scmroot/beakerlib Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-435776-73130/root/chroot_tmpdir/scmroot/beakerlib'... $ git fetch origin 4776abb914a240d87a5fccea56937ab174e91848:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/beakerlib * [new ref] 4776abb914a240d87a5fccea56937ab174e91848 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4776abb fix the source error