Skip to content

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

Comments

For 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.

How is this better than creating a local branch ?

This has nothing to do with branching. Here is the idea I tried to replicate http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-...

AboutSource Built by g1lg1l

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