changes
This commit is contained in:
parent
ac9a7e48e9
commit
255190fd85
15
README.md
15
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user