]> rtime.felk.cvut.cz Git - hubacji1/oneflow.git/commitdiff
Expand init section in introduction
authorJiri Hubacek <hubacji1@fel.cvut.cz>
Wed, 10 Oct 2018 13:11:58 +0000 (15:11 +0200)
committerJiri Hubacek <hubacji1@fel.cvut.cz>
Wed, 10 Oct 2018 14:20:24 +0000 (16:20 +0200)
intro.md

index d3ab15e700c6e09652537c930ad9cf1bad635f39..85dc410d4ffcd096169f6d9071ad1f9dbfa3d990 100644 (file)
--- a/intro.md
+++ b/intro.md
@@ -10,6 +10,32 @@ Also, just after first commit, you may be asked to set up your name and email
 address with `git config ...` command. If `--global` is used the name and/or
 email will be automatically used for all the commits.
 
+## Command `git clone`
+Copy existing repository that is available online from some server to local
+directory.
+```
+git clone ssh://git@rtime.felk.cvut.cz/hubacji1/oneflow.git
+```
+
+## Command `git init`
+Initialize directory to be able to use git commands.
+```
+git init
+```
+
+## Command `git config`
+Setting up your name and email address is required at minimal.
+```
+git config user.name "Your Name"
+git config user.email you@example.com
+```
+
+If the name and email should persist as default for any other git repository:
+```
+git config --global user.name "Your Name"
+git config --global user.email you@example.com
+```
+
 # Explore - check out the repository history
 The command that show the whole history is `git log`. The history is build from
 commits - changes to files in row scale.