0

Does Git support

Does Git support the https protocol for pushing code to repo? I get this error $ git push -u origin main fatal: protocol "https' is not supported Here is what I put in for adding remote repo ****@**** ~/Desktop/charles_website (Main) § git remote add origin https://github.com/helloworld-foo-bar/*****.git P.S the reason why the branch for the push is called main but the branch is called Main for the adding of the remote repo is because I renamed it between those commands. Also anything with a * is redacted

11th Dec 2021, 9:09 PM
CodeShow
CodeShow - avatar
2 Answers
+ 2
Make sure you are connected to the internet
12th Dec 2021, 3:14 AM
Ezefizzy
Ezefizzy - avatar
0
Ayebidun Ezekiel I won’t be able to see your DM for a couple of weeks https://sololearn.com/discuss/2939567/?ref=app
12th Dec 2021, 3:32 PM
CodeShow
CodeShow - avatar