Gitpush error #34
-
|
I am going to push my update of project to my github, but there are following errors Please help me |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This error means Git can't authenticate with GitHub using SSH. Here are the solutions:
Go to GitHub.com → Settings → SSH and GPG keys → New SSH key
Enter file in which to save the key: Just press Enter (uses default location)
Go to https://github.com/settings/keys
|
Beta Was this translation helpful? Give feedback.
This error means Git can't authenticate with GitHub using SSH. Here are the solutions:
Quick Fix: Switch to HTTPS
If you want to get pushing right away, switch your remote URL to HTTPS:
bashgit remote set-url origin https://github.com/YOUR-USERNAME/Video-Audio-Face-Emotion-Recognition.git
Replace YOUR-USERNAME with your actual GitHub username. Then try pushing again - it'll prompt for your GitHub credentials.
Or: Fix SSH Authentication
If you prefer SSH, you need to set up your SSH key:
bashls -al ~/.ssh
Look for files like id_rsa.pub or id_ed25519.pub.
bashssh-keygen -t ed25519 -C "[email protected]"
Press Enter to accep…