Skip to content

There's no Git for Windows 2.x #384

@tessiof

Description

@tessiof

On Windows systems, Git looks for the .gitconfig file in the $HOME directory (C:\Users$USER for most people). It also still looks for /etc/gitconfig, although it’s relative to the MSys root, which is wherever you decide to install Git on your Windows system when you run the installer. However, if you are using Git for Windows 2.x, it is C:\Documents and Settings\All Users\Application Data\Git\config on Windows XP, and it is C:\ProgramData\Git\config on Windows Vista and newer.

I'm pretty sure there's no Git for Windows 2.x, nor Windows 3.x, Windows 95, etc..
I assume the author was going for:

if you are using Git 2.x for Windows

In this case, since the book is about Git 2.0 onwards, a better way would be:

On Windows systems, Git looks for the .gitconfig file in the $HOME directory (C:\Users$USER for most people). It also still looks for C:\Documents and Settings\All Users\Application Data\Git\config on Windows XP, and C:\ProgramData\Git\config on Windows Vista and newer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions