Category: git
Fix – WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Recently GitHub updated their RSA SSH host key so you might be having an error while pushing changes as shown in the below image This can be fixed by running following commands: Full details can be found here: https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
How to fix – Fingerprint has already been taken
Sometimes we have “Fingerprint has already been taken” while adding our ssh key. To fix that issue, we need to generate a new ssh key. But the problem is your existing ssh key is added to other resources so if you generate a new one, you have to replace it everywhere. Instead of doing this,…
Fix – Fatal: Not possible to fast-forward, aborting
To fix this issue run the following command to your repo: And then do whatever you want to do.
Permission denied to git repo pushing
Sometimes we have an error like below when we try to push on Github. Try to check where is your ssh key is being used by the following command: You will get a response like this: So, in my case, my ssh key was being used by my other GitHub account. Now you have 2…