$ git clone -n https://gitee.com/src-anolis-os/mlocate.git /mnt/mock/kojid//dist-an23.3-riscv-build-437767-73130/root/chroot_tmpdir/scmroot/mlocate Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437767-73130/root/chroot_tmpdir/scmroot/mlocate'... $ git fetch origin 27929ea6dfd792a9122a103e5216cce7989a3292:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/mlocate * [new ref] 27929ea6dfd792a9122a103e5216cce7989a3292 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 27929ea init from upstream