$ git clone -n https://src.fedoraproject.org/rpms/libgda5.git /var/lib/mock/f40-build-792521-138442/root/chroot_tmpdir/scmroot/libgda5 Cloning into '/var/lib/mock/f40-build-792521-138442/root/chroot_tmpdir/scmroot/libgda5'... $ git fetch origin 40614f22764fcc7d63fcfcfa6904254878d70b96:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libgda5 * [new ref] 40614f22764fcc7d63fcfcfa6904254878d70b96 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40614f2 Patch for modern C