logoalt Hacker News

leleatyesterday at 10:13 PM0 repliesview on HN

You don't need to put the scratch directory in the committed gitignore file. gitignore files are recursive. So a common approach is to use a gitignore with * in the scratch directory.