# The fix: exclude the CONTENTS of the directory, not the directory itself, # so git still descends and the re-inclusion below can match. build/* !build/keep.txt coverage/* !coverage/summary.json