only ignore commit.txt in the main directory