$ git clone -n https://gitee.com/src-anolis-os/biosdevname.git /mnt/mock/kojid//dist-an23.3-riscv-build-435779-73130/root/chroot_tmpdir/scmroot/biosdevname Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-435779-73130/root/chroot_tmpdir/scmroot/biosdevname'... $ git fetch origin 24961063f85ec9f4ac85da474547d9764d7c665c:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/biosdevname * [new ref] 24961063f85ec9f4ac85da474547d9764d7c665c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2496106 fix source link