$ git clone -n https://src.fedoraproject.org/rpms/quesoglc.git /var/lib/mock/f40-build-2269733-54778/root/chroot_tmpdir/scmroot/quesoglc Cloning into '/var/lib/mock/f40-build-2269733-54778/root/chroot_tmpdir/scmroot/quesoglc'... $ git fetch origin 7eb4f595ba672376fc3f556c16680bba72700a8e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/quesoglc * [new ref] 7eb4f595ba672376fc3f556c16680bba72700a8e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7eb4f59 Fix FTBFS due to https://fedoraproject.org/wiki/Changes/PortingToModernC