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

index 85dc410d4ffcd096169f6d9071ad1f9dbfa3d990..fb8dcd4c9355359971c1cd3638395c67ec325deb 100644 (file)
--- a/intro.md
+++ b/intro.md
@@ -36,13 +36,32 @@ git config --global user.name "Your Name"
 git config --global user.email you@example.com
 ```
 
-# Explore - check out the repository history
+# Explore 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.
 
 The changes of the commit can be shown by `git show COMMIT_ID`. Where the
 `COMMIT_ID` is the identifier obtained from `git log` command.
 
+## Command `git log`
+Show the commited history changes in descending order.
+```
+git log
+```
+
+There is some useful parameters that may be combined:
+```
+git log --graph
+git log --oneline
+git log --decorate
+```
+
+## Command `git show`
+Use the change stored in history.
+```
+git show COMMIT_ID
+```
+
 # Changes - check out before commit
 The status of the repository can be checked by `git status` command. This
 allows you to see *new files* that are not yet tracked, *changed files* whose