News for hackers. Stuff that matters.
Re:Don't create .gitkeep files, use .gitignore instead by beAbU on Sunday February 22, 2026 @05:50AM (#47110000)
Why not put '.local' in your toplevel gitignore, and not commit an empty .local folder up to the forge?
Re:Don't create .gitkeep files, use .gitignore instead by zahlman on Sunday February 22, 2026 @01:35PM (#47113445)
Upstream never sees an empty .local folder because, as established, Git doesn't keep empty folders. This way, .local isn't mentioned in the top-level .gitignore. It's just that tiny bit cleaner.