diff --git a/_posts/2014/2014-02-03-Git-cook-book.md b/_posts/2014/2014-02-03-Git-cook-book.md index 5d9e087..4345e99 100644 --- a/_posts/2014/2014-02-03-Git-cook-book.md +++ b/_posts/2014/2014-02-03-Git-cook-book.md @@ -15,11 +15,13 @@ tags: ------------- The following let you to see only one line comment for each commit. + ``` git log --oneline git log --oneline -3 ``` Below command let you to display Gitk-alike tree to your shell screen. And `--global alias.pl` allows you to use the short form of command. like `$ git pl`. + ``` git log --oneline --graph --decorate git config --global alias.pl "log --oneline --graph --decorate" diff --git a/media/pic2014/0203-1.png b/media/pic2014/0203-1.png new file mode 100644 index 0000000..839d622 Binary files /dev/null and b/media/pic2014/0203-1.png differ