Remix.run Logo
judofyr 5 hours ago

Not sure where I picked up this, but I’ve added this to my global Git ignore:

    attic
That way you can just create an attic directory in any project where you can keep random stuff that should never be committed. I’ve yet to find a repo which actually has such a directory checker in.
weinzierl 3 hours ago | parent | next [-]

Mine is

    aux
and I hide it by putting a .gitignore in it that just contains am asterisk (*), nothing else, that way it ignores itself and anything in it.
trinix912 an hour ago | parent | next [-]

Does Windows still go crazy when making an “aux” or “con” directory or has this been patched?

metadat 2 hours ago | parent | prev [-]

Genius idea.

addedGone an hour ago | parent [-]

The next Elon musk.

williamjackson 5 hours ago | parent | prev [-]

I do this too! But I call it `.local`

zahlman 4 hours ago | parent | next [-]

I have a new-repository script that creates a .local directory and puts a .gitignore with just `*` in it.

bflesch 3 hours ago | parent | prev [-]

Doesn't git automatically exclude all files starting with a dot?

micael_dias 3 hours ago | parent [-]

No