$ git clone -n https://gitee.com/lizhao2025/leptonica.git /var/lib/mock/dist-an23-build-496195-74608/root/chroot_tmpdir/scmroot/leptonica Cloning into '/var/lib/mock/dist-an23-build-496195-74608/root/chroot_tmpdir/scmroot/leptonica'... $ git fetch origin 4cef90a8a22a0eb5504615dccf7db72161c419d5:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/leptonica * [new ref] 4cef90a8a22a0eb5504615dccf7db72161c419d5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4cef90a Update code from upstream