I've got a repository which contains most of my application settings. I'd like to add .git/config
from a different repo and replace it with a symlink in the original repo, but Git complains:
error: Invalid path '[...]/.git/config'
error: unable to add [...]/.git/config to index
fatal: adding files failed
Note: I'm not trying to add this to the root directory of the settings repo, but in a subdirectory.