$ git clone -n https://gitee.com/src-anolis-os/pstoedit.git /mnt/mock/kojid//dist-an23.3-riscv-build-438470-73130/root/chroot_tmpdir/scmroot/pstoedit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438470-73130/root/chroot_tmpdir/scmroot/pstoedit'... $ git fetch origin fd6d2ffd216da4d2c1c415b18764e59c0546ea17:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/pstoedit * [new ref] fd6d2ffd216da4d2c1c415b18764e59c0546ea17 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fd6d2ff Init package from upstream