Skip to contentSkip to conversation

Add *.rej to .gitignore

PATCH Bodo Eggert 1 participant 1 message Feb 19, 2009 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 16 lines · Ingo Molnar
Quoted 15 lines · David Miller

From: Jeremy Fitzhardinge <[email protected]>

Quoted 8 lines

*.rej files really are unwanted. If there are any .rej files, they can be found by some other means (perhaps git itself could warn when committing with *.rej files present, or add some distinct notion of "ignored files" vs "never commit" files).

(This effectively reverts 1f5d3a6b6532e25a5cdf1f311956b2b03d343a48)

I don't know about this.

I really want to know if there are reject files there if I am checking to see if my tree is clean.

[...]

Quoted 3 lines

Well, it depends on the workflow. You are making the assumption that everyone is using your workflow, and you are judging them based on that false assumption.

If different users need different .gitignores, you need a per-user setting. Let there be ~/.git/gitignore.