I got a problem. A am trying to learn git. I initialized my local repo, added everything, committed. I'm using atom cmd and bash, because there are some commands, that are unavailable in atom cmd. I created an ssh-key, added it and everything works fine. I am trying to synchronize everything and pull from the remote repo, but I am getting an error:
PS C:\Users\keldranase\Documents\Obsidian Vaults> git pull origin master --allow-unrelated-histories [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. At the same time, when I am doing same using bash, everything works fine:
keldranase@DESKTOP-SH6U8NC MINGW64 /c/users/keldranase/documents/Obsidian Vaults (master) $ git pull origin master --allow-unrelated-histories Whats the reason behind this? How to solve this problem? What am I doing wrong? Your help would be appreciated.
