$ git clone -n https://gitee.com/src-anolis-os/libXres.git /var/lib/mock/dist-an23.3-riscv-build-437630-73130/root/chroot_tmpdir/scmroot/libXres Cloning into '/var/lib/mock/dist-an23.3-riscv-build-437630-73130/root/chroot_tmpdir/scmroot/libXres'... $ git fetch origin e72fce6efacf2c4c3edfe2e6f09e46da33e6a2d9:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libXres * [new ref] e72fce6efacf2c4c3edfe2e6f09e46da33e6a2d9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e72fce6 Init package from upstream