Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OS-specific gitconfig #5

Open
fogrew opened this issue Jan 5, 2023 · 0 comments
Open

Add OS-specific gitconfig #5

fogrew opened this issue Jan 5, 2023 · 0 comments
Assignees

Comments

@fogrew
Copy link
Owner

fogrew commented Jan 5, 2023

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
@fogrew fogrew self-assigned this Jan 5, 2023
@fogrew fogrew added this to the Ready for windows milestone Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant