Skip to content

Newbie question: very first commit failed due to typo in password. How do I fix this? #21842

Answered by Wabri
HughCan asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi @hughcan,

Welcome to the Github Community Forum!

Ok I try to help understand what is going on, let’s take the first two commands:

git push -u vue_crash_todolist master
Logon failed, use ctrl+c to cancel basic credential prompt.
remote: Invalid username or password.
fatal: Authentication failed for ‘https://github.com/HughCan/vue_crash_todolist/
git push -u vue_crash_todolist master
To https://github.com/HughCan/vue_crash_todolist
! [rejected] master -> master (fetch first)
error: failed to push some refs to ‘https://github.com/HughCan/vue_crash_todolist
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants