Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fatal: I don't handle protocol 'https' [duplicate]

Tags:

git

github

I am trying to push some of my files from staging area to my repository.

git remote add origin https://github.com/my_name/filename.git
git push -u origin master
fatal: I don't handle protocol 'https'

I am getting this fatal error.

How to fix this ?

like image 903
Kathiravan Natarajan Avatar asked Feb 12 '17 21:02

Kathiravan Natarajan


1 Answers

There is a good chance you have special characters somewhere in your commands according to these two SO posts:

git: fatal: I don't handle protocol '​​http'

Git Fetch returns 'fatal: I don't handle protocol https' in windows

Retype the commands and the problem should be alleviated.

like image 79
J. Titus Avatar answered Nov 05 '22 04:11

J. Titus