I put the following code to my .gitconfig unsuccessfully
. /Users/Masi/bin/personal
I get the following error
fatal: bad config file line 7 in /Users/Masi/.gitconfig
How can you source an external file in .gitconfig?
I put the following code to my .gitconfig unsuccessfully
. /Users/Masi/bin/personal
I get the following error
fatal: bad config file line 7 in /Users/Masi/.gitconfig
How can you source an external file in .gitconfig?
.gitconfig
isn't a shell script, it's a list of configuration options for Git. It takes the following form:
[section]
option = value
You can't "source" another file in .gitconfig
.