.gitignore with `/*` to check $HOME into Git

Karl Wiberg kha at treskal.com
Fri Oct 18 07:55:12 CEST 2013

On Fri, Oct 18, 2013 at 12:17 AM, Evan R. Murphy <evanrmurphy at gmail.com> wrote:
> # Ignore everything by default
> /*
> # "Unignore" this .gitignore file
> !/.gitignore
> # Add here everything else you want to unignore
> !/.vimrc

You don't need to unignore files that are already under version
control; as soon as you've git add'ed them, git won't ignore them
anymore. So there should never be a need to unignore anything that
doesn't have a glob in it.

Karl Wiberg, kha at treskal.com

More information about the vcs-home mailing list