git question, addressing everyone's responses
Unfortunately it's part of a build system, so I can't rename it - it has to be stack.yaml
I can't set it to work on both because I need these lines on my system:
nix:
enable: true
and those lines don't work without nixos.
I can't use the global gitignore because I have stack.yaml in other repositories that use stack, and I have to commit the file in those.
and the .git/info/exclude file doesn't seem to work
git response -- Take with pinch of salt
@lizardsquid (That took me like 4 mins to make sure about because setting up a a fresh install and my ssh keys weren't set properly, ugh) An example in a stupid hacked together project that I've made before: https://github.com/Whovian9369/OTPKeySplitter/blob/master/.gitignore
git response -- Take with pinch of salt
@lizardsquid Hah looks like I'm super late to that party. Sorry!
git question, another thing to try
@lizardsquid All right, if exclude isn't working, try the command: `git update-index --assume-unchanged stack.yaml`
git question, another thing to try
@Terrana @lizardsquid this is the command you want
git response -- Take with pinch of sault
@lizardsquid Tere's a per-repo .gitignore file that SHOULD work! Just put each file you don't want committed, and it SHOULD NOT push those files for you.