$ git clone -n https://gitee.com/lxpzero/leptonica.git /var/lib/mock/dist-an23.3-build-416282-72865/root/chroot_tmpdir/scmroot/leptonica Cloning into '/var/lib/mock/dist-an23.3-build-416282-72865/root/chroot_tmpdir/scmroot/leptonica'... $ git fetch origin 5b87f9df2f00897696004e42cb2db6f741ef3588:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/leptonica * [new ref] 5b87f9df2f00897696004e42cb2db6f741ef3588 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b87f9d update to 1.84.1-5