When I try to use Google Cloud's Push-to-Deploy feature, they asked me to add some credential in the .netrc file. What is the .netrc file? What is the purpose?
            Asked
            
        
        
            Active
            
        
            Viewed 5,076 times
        
    7
            
            
         
    
    
        Peter Mortensen
        
- 30,738
- 21
- 105
- 131
 
    
    
        Fizer Khan
        
- 88,237
- 28
- 143
- 153
1 Answers
8
            This is a file that is often used by Unix programs to hold access details for remote sites. It was originally created for use with FTP.
See the man page and this answer for its use with Git on Windows specifically.
 
    
    
        Peter Mortensen
        
- 30,738
- 21
- 105
- 131
 
    
    
        patthoyts
        
- 32,320
- 3
- 62
- 93