user3712320
user3712320

Reputation: 116

what can be effect of deleted .gitconfig file or is there way to recover gitconfig file on window

I accidentally deleted my .gitconfig file on my window system from folder c:/documents and settings/username/.gitconfig, but my git is working fine yet, so what kind of loss i can have ?actually i was looking to change git bash vim settings so what can be solution is this case ?

Upvotes: 1

Views: 3866

Answers (1)

Etan Reisner
Etan Reisner

Reputation: 81052

You will have lost any (global) git configuration you have done.

  1. Your username and email address.
  2. Any aliases you set up.
  3. Remote keys/etc. for things like github.
  4. Anything else listed in the git config man page.

Anything configured in a repo-specific (.git/config) file will be fine.

Upvotes: 5

Related Questions