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