git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Add option to git to ignore binary files unless force added
@ 2018-05-17  0:45 Anmol Sethi
  2018-05-17  3:18 ` Jacob Keller
  0 siblings, 1 reply; 8+ messages in thread
From: Anmol Sethi @ 2018-05-17  0:45 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-05-18 18:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-17  0:45 Add option to git to ignore binary files unless force added Anmol Sethi
2018-05-17  3:18 ` Jacob Keller
2018-05-17 12:37   ` Randall S. Becker
2018-05-18 11:31     ` Anmol Sethi
2018-05-18 15:37       ` Randall S. Becker
2018-05-18 11:31   ` Anmol Sethi
2018-05-18 18:09     ` Jacob Keller
2018-05-18 18:11       ` Anmol Sethi

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).