$ git clone -n https://src.fedoraproject.org/rpms/psi.git /var/lib/mock/f41-build-833875-14943/root/chroot_tmpdir/scmroot/psi Cloning into '/var/lib/mock/f41-build-833875-14943/root/chroot_tmpdir/scmroot/psi'... $ git fetch origin aa47d9028d6916ec0e7bd762f32ab7712d65746b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/psi * [new ref] aa47d9028d6916ec0e7bd762f32ab7712d65746b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aa47d90 Switched from the deprecated patch syntax to the modern one.