WillOfThePeople
WillOfThePeople

Reputation: 19

I am missing the gitconfig file in my home directory, in fact it doesn't exist anywhere

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

Answers (1)

VonC
VonC

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

Related Questions