CombatWombatEsq@lemmy.world to Programming@programming.dev · 2 days ago🧐 TIL: global .gitignoredandean.comexternal-linkmessage-square29fedilinkarrow-up159arrow-down13
arrow-up156arrow-down1external-link🧐 TIL: global .gitignoredandean.comCombatWombatEsq@lemmy.world to Programming@programming.dev · 2 days agomessage-square29fedilink
minus-squareultimate_worrier@lemmy.dbzer0.comlinkfedilinkarrow-up1·edit-250 minutes agoHere’s how you can accomplish a global gitignore using NixOS (copied from a comment I made down the thread): { lib, pkgs, ... }: programs.git = { enable = true; ignores = [ "*.bloop" "*.bsp" "*.metals" "*.metals.sbt" "*metals.sbt" "*.direnv" "*.envrc" "*hie.yaml" "*.mill-version" "*.jvmopts" "build/" ]; }
Here’s how you can accomplish a global gitignore using NixOS (copied from a comment I made down the thread):
{ lib, pkgs, ... }: programs.git = { enable = true; ignores = [ "*.bloop" "*.bsp" "*.metals" "*.metals.sbt" "*metals.sbt" "*.direnv" "*.envrc" "*hie.yaml" "*.mill-version" "*.jvmopts" "build/" ]; }