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