I wish to check in changes that I have made to my local GIT config file and when I tried this command:
git add .git/config --force
It errors out with the following message:
warning: LF will be replaced by CRLF in .git/config.
The file will have its original line endings in your working directory
error: invalid path '.git/config'
error: unable to add '.git/config' to index
fatal: adding files failed
Wondering if this is possible, or if this is considered bad practice. Note: What I am trying to do is check some default diff tools that the entire team needs to use. If this is considered bad practices, how do I go about accomplishing this? (Other settings I might wish to standardize: whitespace, auto conversion of crlf, etc).