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