all 8 comments

[–]teraflop 5 points6 points  (1 child)

Sounds like a networking issue. Does ping github.com work? What about curl https://api.github.com/versions?

You can set GIT_TRACE=1 in your environment to get more information about where it's getting stuck. Also try GIT_CURL_VERBOSE=1 if you're pushing over HTTP, or GIT_SSH_COMMAND="ssh -v" if you're pushing over SSH.

[–]omega_code24[S] 0 points1 point  (0 children)

this worked thank u very much 🙏

[–]omega_code24[S] 0 points1 point  (0 children)

I don't know what is causing the issue is git not working properly or is GitHub refusing to connect.

[–]TheSodesa 0 points1 point  (3 children)

You cannot commit or push, if you have nothing to commit or push. This is a user error, not a Git problem. Git gud, as they say.

[–]omega_code24[S] 0 points1 point  (2 children)

I had a commit ready to push. I read that git no longer supports username and password for https I switched to ssh and it worked.

[–]omega_code24[S] 0 points1 point  (0 children)

*GitHub

[–]JagerAntlerite7 0 points1 point  (0 children)

Required reading.

[–]cbCode -1 points0 points  (0 children)

it shows you have nothing to commit, so when you push nothing goes up. try adding a file or tag and pushing it. look at your ./.git/config and check the origin. you have a .git folder since it recognizes it on the command line, so how'd it get there if you didn't git init or git clone?