$ git clone -n https://src.fedoraproject.org/rpms/kdenetwork-filesharing.git /var/lib/mock/f38-build-side-42-init-devel-645417-26400/root/chroot_tmpdir/scmroot/kdenetwork-filesharing Cloning into '/var/lib/mock/f38-build-side-42-init-devel-645417-26400/root/chroot_tmpdir/scmroot/kdenetwork-filesharing'... $ git fetch origin 2cdea650ba5f76e381c523d653f74fe92a730a0a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kdenetwork-filesharing * [new ref] 2cdea650ba5f76e381c523d653f74fe92a730a0a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2cdea65 fix: remove unneeded patch