From 606dd251e1d01ff82da05e88b7dae12a39fcbb9c Mon Sep 17 00:00:00 2001 From: Max Xu Date: Sat, 16 Dec 2017 23:08:21 +0800 Subject: [PATCH 1/6] Create gitk.md --- pages/linux/gitk.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pages/linux/gitk.md diff --git a/pages/linux/gitk.md b/pages/linux/gitk.md new file mode 100644 index 000000000..2e3ade1c5 --- /dev/null +++ b/pages/linux/gitk.md @@ -0,0 +1,7 @@ +# gitk + +> A git GUI tool. + +- Show repository browser in current git repository: + +`gitk --all` From 16ab34171166ead969887001746e8bed7bdb1fdb Mon Sep 17 00:00:00 2001 From: Max Xu Date: Sun, 17 Dec 2017 20:10:49 +0800 Subject: [PATCH 2/6] 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` From 2995763babd282b06bc48b71d0c73766b84d1a2e Mon Sep 17 00:00:00 2001 From: Max Xu Date: Sun, 17 Dec 2017 20:15:46 +0800 Subject: [PATCH 3/6] gitk.md: fix typo --- pages/linux/gitk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/gitk.md b/pages/linux/gitk.md index 9d1cb7edb..a3b6104a2 100644 --- a/pages/linux/gitk.md +++ b/pages/linux/gitk.md @@ -12,7 +12,7 @@ - Show commits since 1 week ago: -`gitk --since="1 week ago"` +`gitk --since="1 week ago"` - Show commits older than 1/1/2016 From 118b617b1e61a67d61a5d207b4ae92afea7149b9 Mon Sep 17 00:00:00 2001 From: Max Xu Date: Sun, 17 Dec 2017 20:17:33 +0800 Subject: [PATCH 4/6] Update gitk.md --- pages/linux/gitk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/gitk.md b/pages/linux/gitk.md index a3b6104a2..688bd2c13 100644 --- a/pages/linux/gitk.md +++ b/pages/linux/gitk.md @@ -14,7 +14,7 @@ `gitk --since="1 week ago"` -- Show commits older than 1/1/2016 +- Show commits older than 1/1/2016: `gitk --until="1/1/2015"` From 93453fe542dcadaf6f28238fd6d00619dc806af4 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Sun, 17 Dec 2017 18:41:23 +0530 Subject: [PATCH 5/6] Adding tokens --- pages/linux/gitk.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/linux/gitk.md b/pages/linux/gitk.md index 688bd2c13..ea5e24840 100644 --- a/pages/linux/gitk.md +++ b/pages/linux/gitk.md @@ -12,12 +12,12 @@ - Show commits since 1 week ago: -`gitk --since="1 week ago"` +`gitk --since={{"1 week ago"}}` - Show commits older than 1/1/2016: -`gitk --until="1/1/2015"` +`gitk --until={{"1/1/2015"}}` - Show at most 100 changes in all branches: -` gitk --max-count=100 --all` +` gitk --max-count={{100}} --all` From 51724afaaeb42ccb49a55702a78cd95577c46b9a Mon Sep 17 00:00:00 2001 From: Max Xu Date: Mon, 18 Dec 2017 19:10:04 +0800 Subject: [PATCH 6/6] Update gitk.md --- pages/linux/gitk.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/gitk.md b/pages/linux/gitk.md index ea5e24840..baf4f0c34 100644 --- a/pages/linux/gitk.md +++ b/pages/linux/gitk.md @@ -2,7 +2,7 @@ > A graphical git repository browser. -- Show repository browser in current git repository: +- Show the repository browser for the current git repository: `gitk`