From ad61b91462c730cd7c3f90f9519876c2adbf42c4 Mon Sep 17 00:00:00 2001 From: Soeren Peters <mail@soerenpeters.com> Date: Thu, 21 Jul 2022 11:55:05 +0200 Subject: [PATCH] add standard workflow chapter --- content/01_git/cmd.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/content/01_git/cmd.md b/content/01_git/cmd.md index 9ff573a..06f0206 100644 --- a/content/01_git/cmd.md +++ b/content/01_git/cmd.md @@ -59,3 +59,27 @@ While multiple companies offer free storage space overseas, we encourage you to git push ``` + +If everything is working correctly, your files should now be visible in gitlab after a refresh. + +## 3. standard workflow +Once everything is set up you can start working with git. +This is usually done by +- doing some changed in your files +- stage these changes + ``` + git stage mychangedfile.txt + ``` +- create a commit + ``` + git commit -m "I did this and that change" + ``` +- push the commits to the remote instance + ``` + git push + ``` + +In case you are working together with others or you are working with multiple local copies of your repository it might be necessary to get changes from the remote instance: +``` +git pull +``` \ No newline at end of file -- GitLab