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