Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
joemi
· 15y ago · 0 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?
Comments
[–]
false
15y ago
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.
[–]
jeffclark
15y ago
gitignore only works on files that haven't been added. This looks like it's for files already being tracked.