Answer the question
In order to leave comments, you need to log in
Git remote: Invalid username or password, what's wrong?
Hello everyone, well, let's get down to business!
I caught the 12kotov virus (maybe someone is familiar) I didn’t try anything, he deleted all the bookmarks (it was very sad) I couldn’t cure it, I decided to put things in order and bring everything back to factory settings (in fact, it was in a fit of anger and nerves ).
During the day, I installed everything, plugins and a bunch of progs.
Everything seems to be fine, but here is a git !!
(You can read it immediately from here)
I opened the folder in which I used to make up before the system rolled back, it came to pushing and then bam, asks for a log and password, took out a notepad, entered it, wrote:
Username for ' https://github.com ': adf (I just wrote this for you)
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/YaroslavShilov/Blank.git/ '
I went to github and recovered my password.
I enter again and again the same thing, I began to try to enter both the login and the mail, and whatever I did did not work.
I created another repository, I try to push via https and again the same thing, I pushed it through the ssh key, everything works
From here you can come to the conclusion "use ssh", but now everything that is unfinished lies on the PC I need to delete and clone, and if I have there is a mountain of commits that are not missed?
I googled but couldn't find anything, what should I do?
Answer the question
In order to leave comments, you need to log in
Remove http-remote and add ssh-remote.
View remotes:
There will be something like this:
origin https://github.com/YaroslavShilov/Blank.git/ (fetch)
origin https://github.com/YaroslavShilov/Blank.git/ (push)
origin [email protected]:YaroslavShilov/Blank.git (fetch)
origin [email protected]:YaroslavShilov/Blank.git (push)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question