Lazygit/Keyshort/Ignore or Exclude File
- Keyshort Lazygit Lazygit/Keyshort
- Ignore or Exclude the Selected File Card
- My Note
- The distinction is the whole value of the key:
.gitignoreis a statement about the project,.git/info/excludeis a statement about my machine. Editor droppings and personal scratch files belong in the latter. - Files already ignored stop appearing in the Files panel entirely, which is the usual explanation for "lazygit is not showing my dotfile" — see Lazygit/Q/How do I get lazygit to show files and folders that begin with a dot or period, aka hidden files and folders?.
- The distinction is the whole value of the key: