Is there a way to tell git-status
to ignore the contents of specific folders when invoked from outside of these folders?
I would like to see the changes I made in these folders only when I enter them and call git-status
. If possible I would like to have the same behavior but only for un-tracked files.
Example:
$ git init foo
$ cd foo
$ mkdir bar
$ git add bar
foo$ touch bar/README
foo$ git status ----> Empty
foo$ cd bar
foo/bar$ git status -----> README is un-tracked