Tufty
Tufty

Reputation: 535

Gitconfig file has disappeared but is still there

I needed to make some edits to my gitconfig file located in my home directory under Linux.
I have a drive mapped from Windows to this location so for ease I just opened the file in Notepad to check the contents.

I now have the following problem:

  1. Where my gitconfig file should be the filename is blank
  2. There is an icon, but it's simply a Notepad icon
  3. File description under Windows still says gitconfig

How on earth did I obliterate the name and how do I get it back? I've tried deleting the file and recreating from Linux, but no luck.

Upvotes: 0

Views: 255

Answers (1)

Vampire
Vampire

Reputation: 38734

Well, the file is not gitconfig, but .gitconfig. This means on Linux it is a hidden file. On Windows though it is a file without name and with extension gitconfig. So what you see is absolutely correct and you have no problem.

Upvotes: 3

Related Questions