Show HN: make git ignore certain changed files in repo
gist.github.com
Show HN: make git ignore certain changed files in repo
1–10 of 14 posts
Re: Show HN: make git ignore certain changed files in repo
#2Plus, can't beat the license.
Re: Show HN: make git ignore certain changed files in repo
#3Re: Show HN: make git ignore certain changed files in repo
#4I'm going to try this next week; this is something we could use at work. Plus, can't beat the license.
I use it at work everyday, it comes in very handy when you need to keep some changes only specific to your local setup (monkey patching, javascript page speed measurements, weird php local config stuff, etc, etc).
Re: Show HN: make git ignore certain changed files in repo
#5Re: Show HN: make git ignore certain changed files in repo
#6Nice! I remember being surprised that .gitignore didn't do this.
Back in the day when I was using SVN, its ignore-on-commit feature (GUI only, but anyway) was incredibly useful.
Re: Show HN: make git ignore certain changed files in repo
#7I'm a little confused by what this does... Can't you just not 'git add' a file to have git ignore its changes?
Re: Show HN: make git ignore certain changed files in repo
#8I'm a little confused by what this does... Can't you just not 'git add' a file to have git ignore its changes?
Re: Show HN: make git ignore certain changed files in repo
#9It's useful for ignoring checked-in files locally, such as overriding app config settings for a local dev server.
Re: Show HN: make git ignore certain changed files in repo
#10For those who aren't familiar with the git subcommand, `git update-index --[no-]assume-unchanged` is at the core of this script. It's useful for ignoring checked-in files locally , such as overriding app config settings for a local dev server.