From b20893652b7e71f3a3e2e76fd070e56670699eac Mon Sep 17 00:00:00 2001 From: Sara Fechner Date: Wed, 16 Aug 2023 15:51:48 +0200 Subject: [PATCH 1/4] Add description for git config --- src/day_3/notes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index e30d8ff..aa3e073 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -4,6 +4,10 @@ The participants of the course will add a description to each of these Git subco ## git config +Configure user-specific information like name, email etc. An example for setting the email is + +'git config --global user.email you@gotthis.com' + ## git init ## git clone From 635ec921b209b09e5094c4145b8f8865d3363cd0 Mon Sep 17 00:00:00 2001 From: Sara Fechner Date: Wed, 16 Aug 2023 15:53:51 +0200 Subject: [PATCH 2/4] Added another example --- src/day_3/notes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index aa3e073..bf29ff7 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -8,6 +8,10 @@ Configure user-specific information like name, email etc. An example for setting 'git config --global user.email you@gotthis.com' +An example for setting the username would be + +'git config --global user.name "Wonderful-Person"' + ## git init ## git clone From c6d73192725c94b50836b6a4d513f8a6725e0cb2 Mon Sep 17 00:00:00 2001 From: Sara Fechner Date: Thu, 17 Aug 2023 10:21:49 +0200 Subject: [PATCH 3/4] Change syntax of code block --- src/day_3/notes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index bf29ff7..d0b38c8 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -6,11 +6,13 @@ The participants of the course will add a description to each of these Git subco Configure user-specific information like name, email etc. An example for setting the email is -'git config --global user.email you@gotthis.com' +```git config --global user.email you@gotthis.com +``` An example for setting the username would be -'git config --global user.name "Wonderful-Person"' +```git config --global user.name "Wonderful-Person" +``` ## git init From e464885cd0ad9f64a3de5b668490abd118155427 Mon Sep 17 00:00:00 2001 From: Sara Fechner Date: Thu, 17 Aug 2023 10:56:00 +0200 Subject: [PATCH 4/4] Add bash to code line --- src/day_3/notes.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/day_3/notes.md b/src/day_3/notes.md index d0b38c8..6ff8296 100644 --- a/src/day_3/notes.md +++ b/src/day_3/notes.md @@ -6,12 +6,14 @@ The participants of the course will add a description to each of these Git subco Configure user-specific information like name, email etc. An example for setting the email is -```git config --global user.email you@gotthis.com +```bash +git config --global user.email you@gotthis.com ``` An example for setting the username would be -```git config --global user.name "Wonderful-Person" +```bash +git config --global user.name "Wonderful-Person" ``` ## git init