gitubuntugithub

remote: Invalid username or password, fatal: Authentication failed for


I have just clone repo an then make one commit add it and was trying to push it - but have this error: enter image description here

Any ideas how can I fix this evill?


Solution

  • If you want to push to https://github.com/AntonDerenivsky/lado, you should use the credentials of AntonDerenivsky.

    Using 'fresa' would only work if fresa has been declared as collaborator for AntonDerenivsky/lado repo.

    Or you need to fork that repo, and use:

    git remote rename origin upstream
    git remote add origin  https://fresa@github.com/fresa/lado
    git push -u origin master
    

    If AntonDerenivsky is your gitHub account, the the login to use is 'AntonDerenivsky', not 'fresa'.