I get the above warning after running git status:
$ git status
warning: unable to access '.gitignore': Too many levels of symbolic links
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Indeed, it seems a bit convoluted:
$ ls -l .gitignore
lrwxr-xr-x 1 foo bar 16 Mar 22 16:12 .gitignore -> shared/gitignore
$ ls -l shared
lrwxr-xr-x 1 foo bar 16 Mar 22 16:12 shared -> notebooks/shared
Any chance to simplify things in order to get rid of the warning?