Skip to content

Add OS-specific gitconfig #5

@fogrew

Description

@fogrew

Read an article
Something like

[includeIf "gitdir:/Users"]
    path = ~/.gitconfig-macos
[includeIf "gitdir:C:"]
    path = ~/.gitconfig-windows
[includeIf "gitdir:/home"]
    path = ~/.gitconfig-linux

for macos

[credential]
    helper = osxkeychain

for windows

[credential]
    helper = manager

Metadata

Metadata

Assignees

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions