I have another blog that doesn't suck. Archive:
Comments disabled |
Emacs left behind an auto-save file, Git has a mechanism for telling it that certain files are
uninterresting and should never be tracked. You put patterns into
but this didn't work. I did So I escaped the
and that also didn't work. Then I got out the manual and found that
you only need to escape a
and it still didn't work. At that point I gave up and moved on to doing something else. Today I came back to it. I thought that a straight-up filename was matched by any file with that name in any subdirectory, but maybe I had that wrong, so I tried
which ought to work at least for files one level down, but it didn't.
Then I consulted the manual again and found that
and that didn't work either. Then I tinkered with backslashing the The problem was that I was using regex syntax
Just to be clear, this was not a problem with Git. It was a problem with me. Some days it pays to just stay in bed. Sheesh.
|