From 984e4f895a36bcf3b5b900a4b25c69c91e049fe4 Mon Sep 17 00:00:00 2001 From: Florian Moser <products@famoser.ch> Date: Thu, 19 Mar 2020 12:08:29 +0100 Subject: [PATCH] Update git.html --- git_gitlab_course/git.html | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/git_gitlab_course/git.html b/git_gitlab_course/git.html index fdec7e8..f8a4272 100644 --- a/git_gitlab_course/git.html +++ b/git_gitlab_course/git.html @@ -120,6 +120,30 @@ nothing added to commit but untracked files present (use "git add" to track) --- +# Change something & commit it +so let's follow the advice and do + +```bash +git add helloworld.html +``` + +and then **commit** this change + +```bash +git commit -m 'add my first file' +``` +you can always check everything you did with +```bash +git log +``` + +```bash +commit 3b5616d1ba962e7a2e4af1f1bdd54f5d65d4e22d (HEAD -> master) +Author: Oscan Openness <oscar@freedom.org> +Date: Sun Jan 12 12:20:28 2020 +0100 + +--- + class: center, middle # Remote workflow with Gitlab @@ -129,7 +153,7 @@ class: center, middle # Login to gitlab -create an account if you have none +create an account (with switch edu) if you have none --- -- GitLab