]> rtime.felk.cvut.cz Git - hubacji1/oneflow.git/blobdiff - intro.md
Expand explore section in introduction
[hubacji1/oneflow.git] / 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