Skip to content

Give more details on Windows system-level config file. - #428

Merged
ben merged 1 commit into
progit:masterfrom
tacker66:git-for-windows
Oct 6, 2015
Merged

Give more details on Windows system-level config file.#428
ben merged 1 commit into
progit:masterfrom
tacker66:git-for-windows

Conversation

@tacker66

@tacker66 tacker66 commented Oct 4, 2015

Copy link
Copy Markdown
Contributor

Signed-off-by: Thomas Ackermann [email protected]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's reword this a bit.

If you are using Git for Windows 2.x or later, there is also a system-level config file at C:\Documents and Settings\All Users\Application Data\Git\config on Windows XP, or C:\ProgramData\Git\config on Windows Vista and newer. This config file can only be changed by git config -f <file>.

By the way, is that last line correct? You can't launch wordpad as an admin to edit it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the rewording!

You are of course right about using notepad as an admin to edit this config file,
but as we didn't tell the user at all about the possibility to directly edit config files
with notepad in this section only the fact that you have to be admin to call
'git config' successfully in this case should be added.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I guess that fits in then. Power users will figure out how to sudo vi the file. Thanks!

ben added a commit that referenced this pull request Oct 6, 2015
Give more details on Windows system-level config file.
@ben
ben merged commit 54b82a1 into progit:master Oct 6, 2015
@tacker66
tacker66 deleted the git-for-windows branch October 7, 2015 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants