cs50 / lib50

This is lib50, CS50's own internal library used in many of its tools.
GNU General Public License v3.0
16 stars 15 forks source link

add an option to force using HTTPs or SSH #54

Open kzidane opened 4 years ago

kzidane commented 4 years ago

Instead of trying SSH first then falling back to HTTPs, probably a good idea to give users more control over this. This also helps avoid the issue where SSH is misconfigured and trying to SSH into GitHub throws out an error instead of the expected output which causes submit50 to fail. We should also handle unexpected outputs by SSH.