Hacker News new | ask | show | jobs
by Timber-6539 405 days ago
I'll do you one better. Start your .gitignore file with this line

  *
1 comments

Mine all start with (and .dockerignore has a similar one)

    # Default block all
    /*
    # Specifically allow files and directories