How do you save passwords for Git/GitHub?
I have a script that uses "git clone" multiple times to download all of the repositories I need for my project Swift Linux. (Each major task has its own repository.) The code is at https://github.com/swiftlinux/1-build/blob/master/get_reps_diet.sh .
However, I'm asked for my password EVERY TIME the script tries to download a repository. Is there a way to save my password (temporarily) so that I don't have to enter it 20 times? All I need here is a way to download multiple repositories while only entering my password ONCE. Is that too much to ask?
I tried the suggestions at http://help.github.com/ssh-key-passphrases/ , but the only thing that worked was entering "ssh-keygen -p" and eliminating the password.
--
Jason Hsu <jhsu802701@jasonhsu.com>
Founder and lead developer of Swift Linux (http://www.swiftlinux.org)
Reply to: