.gitignore Isn’t the Only Way To Ignore Files in Git
36 points by abnercoimbre
36 points by abnercoimbre
if you're using lazygit. You can do i -> e on files to add the path to .git/info/exclude. pretty nice if you have something you want to keep outside of the git index without changing the .gitignore
There’s also the “out of sight out of mind” approach
git config --global alias.status '!git status | grep -v myfile.txt