Github Desktop doent like submodules
1 2 3 4 5 6 7 8 | PS D:\git\AIMS9> git submodule foreach git pull Entering 'PHP' [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. fatal: run_command returned non-zero status for PHP |
1). Generate an SSH Key
1 2 3 4 5 6 7 | PS D:\git\AIMS9> ssh-keygen -t ed25519 -C "[email protected]" Generating public/private ed25519 key pair. Enter file in which to save the key (C:\Users\Tor.EDC/.ssh/id_ed25519): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in C:\Users\Tor.EDC/.ssh/id_ed25519 Your public key has been saved in C:\Users\Tor.EDC/.ssh/id_ed25519.pub |
2). Put the public key into Github > Settings > SSH
3). Repull the repo
1 2 3 4 5 6 | PS D:\git\AIMS9> git submodule foreach git pull Entering 'PHP' Warning: Permanently added the ECDSA host key for IP address '140.82.113.4' to the list of known hosts. From github.com:EDCCorporation/PHP * branch HEAD -> FETCH_HEAD PS D:\git\AIMS9> |