| CARVIEW |
Content-Type: text/shitpost
|
I have another blog that doesn't suck. Archive:
Comments disabled |
Subject: Gitignore patterns
Path: you!your-host!ultron!the-matrix!mechanical-turk!berserker!plovergw!shitpost!mjd Date: 2018-02-01T11:27:09 Newsgroup: talk.mjd.gitignore Message-ID: <1901d346dd8bba5b@shitpost.plover.com> Content-Type: text/shitpost 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.
|
