I have been trying to use Git for a few days. But I cannot understand the process of saving username and password on the platform. Can I get any help regarding that?

159    Asked by dhanan_7781 in Python , Asked on Sep 19, 2023

 I have been trying to use Git for a few days. But I cannot understand the process of saving username and password on the platform. Can I get any help regarding that? 

Answered by Asistha pandey

Saving username and Git config password may seem difficult. But we suggest you run the command:  $ git config credential.helper store The next step is to pull. So, follow the next command: $ git pull Once that is done, you can provide the username and password, and remember both of them as these two will be required later. 

After providing the username and password the system will store both of them in a text file present at ~/.git-credentials. 





Your Answer

Interviews

Parent Categories