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

Support _netrc files for windows #1

Closed
jurkov opened this issue May 2, 2024 · 2 comments · Fixed by #3
Closed

Support _netrc files for windows #1

jurkov opened this issue May 2, 2024 · 2 comments · Fixed by #3

Comments

@jurkov
Copy link

jurkov commented May 2, 2024

It is quite strange but on Windows the .netrc file has the name _netrc.
Please add _netrc support.

Sources:
https://stackoverflow.com/questions/6031214/git-how-to-use-netrc-file-on-windows-to-save-user-and-password
https://www.labkey.org/Documentation/wiki-page.view?name=netrc
https://github.com/curl/curl/blob/6e4b7abfd3bef38130598b7f62289881f448a13c/docs/cmdline-opts/netrc.md?plain=1#L28

@gribouille
Copy link
Owner

gribouille commented May 30, 2024

Ok, _netrc replaces .netrc on Windows or it's an alternative ?

@T-256
Copy link

T-256 commented Jun 1, 2024

Curl:

On Windows two filenames in the home directory are checked: .netrc and _netrc, preferring the former.

Select each one will be correct. when both available, _netrc preferred.

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 a pull request may close this issue.

3 participants