Fix .gitinore and reindex files