Skip to content

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

Comments

These are the aliases I have set in my .gitconfig for a similar (same?) purpose:

  [alias]
  ignore = !git update-index --assume-unchanged
  unignore = !git update-index --no-assume-unchanged
  ignored = !git ls-files -v | grep "^[[:lower:]]"
Usage: `git ignore foo.rb`, `git unignore foo.rb`; `git ignored` to list all currently ignored files.

Awesome, that'll do as well, thanks

AboutSource Built by g1lg1l

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