Fwd: Add git ignore as builtin
- From
- Alberto Fanjul Alonso <albertofanjul@gmail.com>
- Date
- Nov 15, 2014, 11:22 UTC
- Message-ID
- <CA+mQAOU_UnPuSk0f9d1sUnxBj8M4zEX7bwa4Dw_z_PJV3Lp4LA@mail.gmail.com>
- In-Reply-To
- <CA+mQAOXPZSv2B8tVfC=4eJ7X_2j8Di4BkuE=z43=U2+VNpdQQg@mail.gmail.com>
After seeing -e option in git config (open config files in editor)
http://git-scm.com/docs/git-config
I decide it's time to propose to incorporate an alias really useful to me
git ignore
The repo is on https://github.com/albfan/git-ignore
basically:
git ignore <whatever> adds <whatever> to .git/info/exclude
and git ignore -e starts an editor to tweak your excludes
by default it operates con exclude file, but it can also work with .gitignore using -i option
I find it invaluable for IDE project files, TODOs, test files...