$ git clone -n https://gitee.com/su-feng-nmg/libtool.git /var/lib/mock/dist-an23-build-190728-60788/root/chroot_tmpdir/scmroot/libtool Cloning into '/var/lib/mock/dist-an23-build-190728-60788/root/chroot_tmpdir/scmroot/libtool'... $ git fetch origin 03ae9c64f1a5e791870a2cf616802f98967153c6:KOJI_FETCH_HEAD From https://gitee.com/su-feng-nmg/libtool * [new ref] 03ae9c64f1a5e791870a2cf616802f98967153c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 03ae9c6 Standardized patch name and add a patch from https://lists.gnu.org/archive/html/libtool-patches/2022-02/msg00000.html