It’s great that there is an article on this topic. Here are some additional steps that I followed after reading this:
- Create a new repository in Github
- On the CodeAlly side, follow these instructions to create & add the ssh-key Generating a new SSH key and adding it to the ssh-agent - GitHub Docs.
- Back in Github and in the newly create repository, click on the wheel Settings button.
- In Settings, select Deploy keys.
- In Deploy keys, click on the Add key button.
-
Paste the ssh-key generated in the VM into the deploy key. If you had trouble following the clip instruction, use less ~/.ssh/“your key pub” to get the key.
-
Save the key.
-
Get the ssh-key repository URL (as opposed to the https URL). See Quickly set up GitHub SSH example.
-
In CodeAlly, set this URL as a github remote repository. Ex: git remote add sshorigin “the ssh repository URL”.