Re-including an Ignored File
.gitignore has logs/ and below it !logs/.keep. Why is logs/.keep still ignored?
.gitignore
logs/
!logs/.keep
logs/.keep
Choose one answer
Files starting with a dot can never be tracked.
Negation patterns must come before the pattern they negate, not after it.
! only works in the global gitignore file.
!
Git never looks inside an excluded directory.