Mohammad Akbar
Mohammad Akbar

Reputation: 49

cannot push to github - no error?

when i type git push origin master into the terminal nothing happens. The terminal doesn't output anything. I have to CTRL C to get it to respond to inputs again. I wish I could be more descriptive but I don't even get an error message.

Upvotes: 1

Views: 671

Answers (1)

VonC
VonC

Reputation: 1324258

If ssh doesn't go through for any reason, you can try and switch to an https url, to see if the issue persists:

git remote set-url origin https://<your_account>@github.com/<your_account>/<your_repo>

That way, you can check if the problem is purely an ssh one, or if it is a more general github network access one.

Upvotes: 1

Related Questions