Thread (8 messages) flat view 8 messages, 3 authors, 2018-05-18

Add option to git to ignore binary files unless force added

From: Anmol Sethi <hidden>
Date: 2018-05-17 00:45:36

I think it’d be great to have an option to have git ignore binary files. My repositories are always source only, committing a binary is always a mistake. At the moment, I have to configure the .gitignore to ignore every binary file and that gets tedious. Having git ignore all binary files would be great.

This could be achieved via an option in .gitconfig or maybe a special line in .gitignore.

I just want to never accidentally commit a binary again.

-- 
Best,
Anmol
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help