Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Body

I have a problem with netrc file. I use this file for auth, my OS - windows, by default windows must be find a '_netrc' file, but in my case he is try find '.netrc', why this may happend???

18:46:01.406063 http.c:938 == Info: Couldn't find host github.com in the .netrc file; using defaults

Guidelines

  • I have read and understood this category's guidelines before making this post.
You must be logged in to vote

Replies: 2 comments

Comment options

Hey @Gamshik! Thanks for reaching out. I'm commenting so people can see your post and, hopefully, provide the help you need. Best of luck!

You must be logged in to vote
0 replies
Comment options

On Windows, Git clients and other tools (like curl or git-credential) are supposed to look for a file named _netrc in your user directory (e.g., C:\Users<username>_netrc) you can rename it or force it to do that by

setx CURL_NETRC_FILE "C:\Users<username>_netrc"

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Programming Help Discussions around programming languages, open source and software development
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.