Git quicky - locally ignore files

Penned on .

Ever needed to modify a file locally but wanted to make sure it doesn't get committed and pushed back in to the stream? Well, if you're using Git, it's as easy as:

$ git update-index --assume-unchanged path/to/file.txt

Extremely helpful if you've got password changes in config files that you don't want committed