$ git clone -n https://gitee.com/xht8015/perl-IO-Tty.git /var/lib/mock/dist-an23-build-481932-74252/root/chroot_tmpdir/scmroot/perl-IO-Tty Cloning into '/var/lib/mock/dist-an23-build-481932-74252/root/chroot_tmpdir/scmroot/perl-IO-Tty'... $ git fetch origin c7be5af578c6b5b0d78bca956839046195e22d15:KOJI_FETCH_HEAD From https://gitee.com/xht8015/perl-IO-Tty * [new ref] c7be5af578c6b5b0d78bca956839046195e22d15 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c7be5af Backport upstream patch to fix C99 compatibility issue