$ git clone -n https://src.fedoraproject.org/rpms/qt5-qtlocation.git /var/lib/mock/f41-build-811742-147521/root/chroot_tmpdir/scmroot/qt5-qtlocation Cloning into '/var/lib/mock/f41-build-811742-147521/root/chroot_tmpdir/scmroot/qt5-qtlocation'... $ git fetch origin 8feb0ffce29ff0a626da5b23f0e383e670fc12ad:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/qt5-qtlocation * [new ref] 8feb0ffce29ff0a626da5b23f0e383e670fc12ad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8feb0ff Use autosetup to automatically apply all patches