$ git clone -n https://gitee.com/src-anolis-os/xcb-util.git /mnt/mock/kojid//dist-an23.3-riscv-build-439705-73130/root/chroot_tmpdir/scmroot/xcb-util Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439705-73130/root/chroot_tmpdir/scmroot/xcb-util'... $ git fetch origin c4b774bca71492f33899e3fa4ea84f28523aabf4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xcb-util * [new ref] c4b774bca71492f33899e3fa4ea84f28523aabf4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c4b774b Remove redundant files