avoid repeating files already in git index
updating snippets