Git push original push

I am trying to put my project on github. I cannot figure out why I am getting this error:

ssh: connect to host port 22: Operation timed out
fatal: The remote end hung up unexpectedly


When I do this:

git push origin master


I followed exactly these instructions generated by github:

Next steps:
  mkdir UniqCheck
  cd UniqCheck
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin
  git push -u origin master 


I don't know why I am getting the error. I have successfully pushed and pulled from another git repository (not mine) for another project. None of the other questions I've seen worked so far or exactly matched my problem.

Edit: Also, perhaps interestingly, this is what I get when I create git config --get-regexp '^ (remote | branch).'

remote.origin.fetch +refs/heads/*:refs/remotes/origin/*



source to share

1 answer

Now it works. I guess I just decided to push too fast and github hasn't processed my project yet. Weird.



All Articles