$ git clone -n https://src.fedoraproject.org/rpms/jFormatString.git /var/lib/mock/f40-build-2237120-53533/root/chroot_tmpdir/scmroot/jFormatString Cloning into '/var/lib/mock/f40-build-2237120-53533/root/chroot_tmpdir/scmroot/jFormatString'... $ git fetch origin f1474bfa719c8c66fb87e5ce06ae7cc3cf5332a9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/jFormatString * [new ref] f1474bfa719c8c66fb87e5ce06ae7cc3cf5332a9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f1474bf Remove deprecated %patch syntax