$ git clone -n https://gitee.com/src-anolis-os/tokyocabinet.git /mnt/mock/kojid//dist-an23.3-riscv-build-439528-73130/root/chroot_tmpdir/scmroot/tokyocabinet Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439528-73130/root/chroot_tmpdir/scmroot/tokyocabinet'... $ git fetch origin c599661dd471f95e548c2c5827d1f166e98daa66:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tokyocabinet * [new ref] c599661dd471f95e548c2c5827d1f166e98daa66 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c599661 Correct the source url