Skip to content

Comment on Show HN: make git ignore certain changed files in repo

Comments

I'm a little confused by what this does... Can't you just not 'git add' a file to have git ignore its changes?

The file still shows up in status and, the most important, changes from file still shows up in 'add|checkout|reset -p' which I use all the time.

gitignore only works on files that haven't been added. This looks like it's for files already being tracked.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.