Windows find '.netrc' file instead of '_netrc' #146478
              
                Unanswered
              
          
                  
                    
                      Gamshik
                    
                  
                
                  asked this question in
                Programming Help
              
            Replies: 2 comments
-
| 
         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!  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         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"  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions