From 255190fd85067ee886b272e35955e1f16f835bb3 Mon Sep 17 00:00:00 2001 From: Jacob Date: Tue, 17 Sep 2024 11:40:25 -0400 Subject: [PATCH] changes --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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.