Skip to content

Commit 1726ee4

Browse files
committed
wrong title levels
1 parent f3e921d commit 1726ee4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/resources/git_setup.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Since a few years, github has disabled access via password only for security rea
99
so you need to cre
1010
This aims to be as short and concise as possible, for more extenive information, [see the github security documentation][github_security].
1111

12-
## Setup SSH Access
12+
### Setup SSH Access
1313

1414
An easy way to access github securely is to use SSH.
1515

16-
### Create SSH Key
16+
#### Create SSH Key
1717

1818
For this, you first need to create a SSH key pair on your computer using the email address of your github account.
1919

@@ -35,7 +35,7 @@ while the other file is your private key and **should never be shared with anyon
3535
!!! quote "Keep it secret, keep it safe!"
3636
_Gandalf_, about private SSH keys (probably).
3737

38-
### Add SSH Key to Github
38+
#### Add SSH Key to Github
3939

4040
After creating the key, you need to add it to your github account.
4141
For this you need to log into your github account, click on your avatar and go to `Settings` → `SSH and GPG keys`.
@@ -44,7 +44,7 @@ Then click on [++"New SSH key"++{.green-gui-button}][github_new_ssh_key]{target=
4444
Give it a resonable name in the `Title` field and leave the `Key type` as `Authentication key`.
4545
Then click on `Add SSH key` and you are done.
4646

47-
### Configure SSH to use the key
47+
#### Configure SSH to use the key
4848

4949
Next, you need to tell your local SSH client to use the key you created to connect to github.
5050
For that, add the following lines to your `~/.ssh/config` file:
@@ -62,7 +62,7 @@ or the path to your key you chose earlier.
6262
It is important that the `User` is `git` and **not your git-username**!
6363
Github will identify you automatically based on the email address you used to create the SSH key.
6464

65-
### Test Access
65+
#### Test Access
6666

6767
Now you can test that everything works by running the following command:
6868

@@ -76,7 +76,7 @@ which should then display
7676
Hi <Username>! You've successfully authenticated, but GitHub does not provide shell access.
7777
```
7878

79-
### Clone Repository
79+
#### Clone Repository
8080

8181
When you clone a new repository, always use the SSH url
8282

@@ -100,7 +100,7 @@ which you can find from the ++"Clone"++{.green-gui-button} button of the reposit
100100
git remote -v
101101
```
102102

103-
## Setup HTTPS Access
103+
### Setup HTTPS Access
104104

105105
You can setup https access by creating and using a personal access token or a password manager.
106106

0 commit comments

Comments
 (0)