Reputation: 19
There is no gitconfig file in any directory, I'm sure of that. I'm wondering what the best course of action is form here as its very inconvenient not having the file. I've tried reinstalling git but that effects very little.
Upvotes: 1
Views: 1197
Reputation: 1323203
You can simply:
check where it could be with (using Git 2.26 or more):
git config --show-origin --show-scope --global -l
create one with, for instance:
git config --global user.name <me>
git config --global user.email <[email protected]>
Upvotes: 1