diff --git a/README.md b/README.md index d6cad69..650b67c 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,17 @@ me](mailto:jsignorovitch@commschool.org). ## Pushing to a Repository -For +For the security and ease of use, I suggest using `ssh` to push changes. This +guide will assume a UNIX-based operating environment (e.g. MacOS, Linux). +First, generate an ssh key pair. + +``` +$ ssh-keygen -f ~/.ssh/git.signorovitch.org +``` + +You don't need to set a password (just hit enter). This will create the files +`~/.ssh/git.signorovitch.org` and `~/.ssh/git.signorovitch.org.pub`, being your +private and public keys respectively. Using the Gitea web interface, click on +your profile in the top right corner. Go to Settings → SSH/GPG Keys → Manage +SSH Keys. Click 'Add Key' and paste your *public* key into the text box. You +should now be able to commit changes via ssh.