$ git clone -n https://src.fedoraproject.org/rpms/flexiport.git /var/lib/mock/f41-build-1018764-17953/root/chroot_tmpdir/scmroot/flexiport Cloning into '/var/lib/mock/f41-build-1018764-17953/root/chroot_tmpdir/scmroot/flexiport'... $ git fetch origin 0ecc1b8e75535f3ee01e804262d06dca0464c573:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/flexiport * [new ref] 0ecc1b8e75535f3ee01e804262d06dca0464c573 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0ecc1b8 Eliminate use of obsolete %patchN syntax (#2283636)