0

I'm new to the bash shell on windows. I installed git, and I need to clone a private http repository. I'm getting prompted for my user name and password. I understand I should use a git credential manager to securely store my credentials. How would I go about doing this with the WSL?

Thank you!

Notre
  • 1,093
  • 3
  • 13
  • 26
  • Look at this question and the top answer https://stackoverflow.com/questions/5343068/is-there-a-way-to-skip-password-typing-when-using-https-on-github – Derek Lawrence Jun 13 '17 at 19:31
  • Please provide us with more information. Do you have a SSH key or are you able to get your SSH key onto the server? If not I personaly dont know the way to bypass the username/password. – Saša Zejnilović Jun 13 '17 at 22:37
  • Thanks Derek. I saw that, but I couldn't figure out how to apply it to when using bash for windows :( I tried the command line, but it didn't appear to work – Notre Jun 22 '17 at 20:14
  • Sasa, no SSH key. I like what Derek suggested, but I've been unsuccessful in getting it to work – Notre Jun 22 '17 at 20:15

1 Answers1

-1

I actually just went through this same thing with setting it up on Windows 10. I followed this link to set it up and it all works fine for me to use all git commands in Windows Git Bash.

joshsisley
  • 310
  • 2
  • 11