From 16ab34171166ead969887001746e8bed7bdb1fdb Mon Sep 17 00:00:00 2001 From: Max Xu Date: Sun, 17 Dec 2017 20:10:49 +0800 Subject: [PATCH] Update gitk.md --- pages/linux/gitk.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/pages/linux/gitk.md b/pages/linux/gitk.md index 2e3ade1c5..9d1cb7edb 100644 --- a/pages/linux/gitk.md +++ b/pages/linux/gitk.md @@ -1,7 +1,23 @@ # gitk -> A git GUI tool. +> A graphical git repository browser. - Show repository browser in current git repository: -`gitk --all` +`gitk` + +- Show repository browse of a specific file or folder: + +`gitk {{path/to/file_or_folder}}` + +- Show commits since 1 week ago: + +`gitk --since="1 week ago"` + +- Show commits older than 1/1/2016 + +`gitk --until="1/1/2015"` + +- Show at most 100 changes in all branches: + +` gitk --max-count=100 --all`