Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gits error on push Empty reply from server

Tags:

git

github

I have been trying to push new changes to my existing repo, however, I am keep getting the following error:

-MacBook-Pro:spa $ git push origin master Username for XX Password for fatal: unable to access 'https://github.com/XXXX/': Empty reply from server

I have even tried with the new repo but the result is same.

like image 747
codebased Avatar asked Feb 06 '15 10:02

codebased


People also ask

What are the issues when git push doesn't work?

You need to use git pull and resolve the difference between your local changes and the remote changes before you can git push . There is still a commit in the remote branch initializing the repo that may not be in your local version. I'd still recommend pulling the remote.

Why is git push failing?

This error mainly occurs when you attempt to push your local changes to GitHub while the local repository (repo) has not yet been updated with any changes made in the remote repo. So Git is trying to tell you to update the local repo with the current changes in the remote before pushing your own changes.

What is Remote_name in git push?

The git pull command is a combination of git fetch which fetches the recent commits in the local repository and git merge , which will merge the branch from a remote to a local branch also 'remote_name' is the repository name and 'branch_name' is the name of the specific branch.


1 Answers

grr...

The problem got fixed after restarting my Mac computer.

like image 135
codebased Avatar answered Sep 20 '22 14:09

codebased