Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/university/training/topics/env_setup.md')
-rw-r--r--doc/university/training/topics/env_setup.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/university/training/topics/env_setup.md b/doc/university/training/topics/env_setup.md
index f65b4f68868..be517032a1b 100644
--- a/doc/university/training/topics/env_setup.md
+++ b/doc/university/training/topics/env_setup.md
@@ -15,11 +15,11 @@ comments: false
- **Linux**
- ```bash
+ ```shell
sudo yum install git-all
```
- ```bash
+ ```shell
sudo apt-get install git-all
```
@@ -27,18 +27,18 @@ comments: false
One-time configuration of the Git client
-```bash
+```shell
git config --global user.name "Your Name"
git config --global user.email you@example.com
```
## Configure SSH Key
-```bash
+```shell
ssh-keygen -t rsa -b 4096 -C "you@computer-name"
```
-```bash
+```shell
# You will be prompted for the following information. Press enter to accept the defaults. Defaults appear in parentheses.
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/you/.ssh/id_rsa):
@@ -52,10 +52,10 @@ The key fingerprint is:
Copy your public key and add it to your GitLab profile
-```bash
+```shell
cat ~/.ssh/id_rsa.pub
```
-```bash
+```shell
ssh-rsa AAAAB3NzaC1yc2EAAAADAQEL17Ufacg8cDhlQMS5NhV8z3GHZdhCrZbl4gz you@example.com
```