Knut-ified Screenshots / Typos / Fixes #55
BIN
assets/images/getting-started/first-repository/create-repo.png
Normal file
|
After Width: | Height: | Size: 154 KiB |
BIN
assets/images/getting-started/first-repository/create-repo.webp
Normal file
|
After Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 145 KiB |
BIN
assets/images/security/ssh-key/add-ssh-key.webp
Normal file
|
After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
|
@ -8,13 +8,17 @@ eleventyNavigation:
|
|||
|
||||
To create a new repository you need to login into your account on Codeberg.org.
|
||||
|
||||
After login you can use one of the two buttons shown in the two following pictures.
|
||||
After login you can use one of the two buttons shown in the two following screenshot
|
||||
to create a new repository:
|
||||
|
||||

|
||||
<picture>
|
||||
<source srcset="/assets/images/getting-started/first-repository/create-repo.webp" type="image/webp">
|
||||
<img src="/assets/images/getting-started/first-repository/create-repo.png" alt="Creating a Repository">
|
||||
</picture>
|
||||
|
||||
> Please note that it is currently not possible to use git on your local machine to push a fresh repository on Codeberg. (Push-to-Create)
|
||||
|
||||

|
||||
|
||||
> Note it is not possible to use your git on your local machine to push a fresh repository on Codeberg.
|
||||
|
||||
## Connect a local repository to Codeberg
|
||||
Keep in mind that you first need to create a repository on Codeberg as stated in the section before.
|
||||
|
|
@ -32,7 +36,7 @@ git commit -m "first commit"
|
|||
```
|
||||
|
||||
### Declare Codeberg repository as 'origin'
|
||||
Your local repository need to know where the remote one is. It is usual and common to name it `origin`. The string `origin` could be desribed as an alias for the remote repository on the Codeberg server.
|
||||
Your local repository need to know where the remote one is. It is usual and common to name it `origin`. The string `origin` could be described as an alias for the remote repository on the Codeberg server.
|
||||
|
||||
Now you have two protocol variantes to connect: SSH and HTTPS.
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ use, have a look at Aegis Authenticator
|
|||
|
||||
### Step 1: Navigate to your user settings
|
||||
<picture>
|
||||
<source srcset="/assets/images/security/2fa/user-settings.webp" type="image/webp">
|
||||
<img src="/assets/images/security/2fa/user-settings.png" alt="User Settings">
|
||||
<source srcset="/assets/images/security/user-settings.webp" type="image/webp">
|
||||
<img src="/assets/images/security/user-settings.png" alt="User Settings">
|
||||
</picture>
|
||||
|
||||
### Step 2: Navigate to the Security tab and click on the Enroll button
|
||||
|
|
|
|||
|
|
@ -45,12 +45,21 @@ In the context of Codeberg you should decide yourself if you add a pasphrase to
|
|||
```shell
|
||||
$ type .ssh/id_rsa.pub | clip
|
||||
```
|
||||
2. Go to the settings section __SSH / GPG Keys__ and click on __Add key__.
|
||||
2. Navigate to your user settings
|
||||
<picture>
|
||||
<source srcset="/assets/images/security/user-settings.webp" type="image/webp">
|
||||
<img src="/assets/images/security/user-settings.png" alt="User Settings">
|
||||
</picture>
|
||||
|
||||

|
||||
3. Go to the settings section __SSH / GPG Keys__ and click on __Add key__.
|
||||
|
||||
<picture>
|
||||
<source srcset="/assets/images/security/ssh-key/add-ssh-key.webp" type="image/webp">
|
||||
<img src="/assets/images/security/ssh-key/add-ssh-key.png" alt="SSH Key Settings">
|
||||
</picture>
|
||||
|
||||
3. Give an appropriate name for the key.
|
||||
4. Paste your key string from the clipboard into __content__ field.
|
||||
4. Give an appropriate name for the key.
|
||||
5. Paste your key string from the clipboard into __content__ field.
|
||||
|
||||
## Test the SSH connection
|
||||
Do this simple test:
|
||||
|
|
|
|||