From c0c4a64aa057d0d7f57f94927ecc6e9cb3e38895 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 21:55:10 +0200 Subject: [PATCH 01/14] git-effort: add page --- pages/common/git-effort.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/git-effort.md diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md new file mode 100644 index 0000000000000..c55f7addc13ef --- /dev/null +++ b/pages/common/git-effort.md @@ -0,0 +1,25 @@ +# git effort + +> Display how much activity a file has had, showing commits per file and active days. +> Part of `git-extras`. +> More information: . + +- Display each file, showing commits and active days: + +`git effort` + +- Display files receiving over a specific number of commits, showing commits and active days: + +`git effort --above {{5}}` + +- Display files committed to, from a specific author, showing commits and active days: + +`git effort -- --author"{{username}}"` + +- Display files committed to, from a specific time/date, showing commits and active days: + +`git effort -- --since='{{last month}}'` + +- Display files committed to, from specific chosen files, showing commits and active days: + +`git effort {{path/to/file_or_directory}}` From 45cd85d579e6179103a4bed1e776b5721f3d4203 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 21:31:38 +0100 Subject: [PATCH 02/14] Update pages/common/git-effort.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-effort.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md index c55f7addc13ef..22bd6e2ef26eb 100644 --- a/pages/common/git-effort.md +++ b/pages/common/git-effort.md @@ -1,6 +1,6 @@ # git effort -> Display how much activity a file has had, showing commits per file and active days. +> Display how much activity a file has had, showing commits per file and "active days" i.e. total number of days that contributed to the file. > Part of `git-extras`. > More information: . From 97d5bf7d6f1e0689fab5df6d07d7ca97dca7367c Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 21:31:51 +0100 Subject: [PATCH 03/14] Update pages/common/git-effort.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-effort.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md index 22bd6e2ef26eb..3cbd8991a3dad 100644 --- a/pages/common/git-effort.md +++ b/pages/common/git-effort.md @@ -8,7 +8,7 @@ `git effort` -- Display files receiving over a specific number of commits, showing commits and active days: +- Display files modified by specific number of commits or more, showing commits and active days: `git effort --above {{5}}` From 0b4af18f29ed5bb7544ae5d2f35fcca6ce333170 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 21:31:59 +0100 Subject: [PATCH 04/14] Update pages/common/git-effort.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-effort.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md index 3cbd8991a3dad..74fdc8d5b547f 100644 --- a/pages/common/git-effort.md +++ b/pages/common/git-effort.md @@ -12,7 +12,7 @@ `git effort --above {{5}}` -- Display files committed to, from a specific author, showing commits and active days: +- Display files modified by a specific author, showing commits and active days: `git effort -- --author"{{username}}"` From e4a91f0e073637fca2b32d8e365180a2218b174a Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 21:32:07 +0100 Subject: [PATCH 05/14] Update pages/common/git-effort.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-effort.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md index 74fdc8d5b547f..da36670d01d21 100644 --- a/pages/common/git-effort.md +++ b/pages/common/git-effort.md @@ -16,7 +16,7 @@ `git effort -- --author"{{username}}"` -- Display files committed to, from a specific time/date, showing commits and active days: +- Display files modified at a specific time/date, showing commits and active days: `git effort -- --since='{{last month}}'` From 37c7c270711a30ca3511f9ab95d4ed8f945169f2 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 21:32:16 +0100 Subject: [PATCH 06/14] Update pages/common/git-effort.md Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/git-effort.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md index da36670d01d21..405ebb05289be 100644 --- a/pages/common/git-effort.md +++ b/pages/common/git-effort.md @@ -4,7 +4,7 @@ > Part of `git-extras`. > More information: . -- Display each file, showing commits and active days: +- Display each file in the repository, showing commits and active days: `git effort` From ec123302d3f4306f6a3aa2934158ca0ce4799fe4 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 22:35:54 +0200 Subject: [PATCH 07/14] Add new example for all files in a directory --- pages/common/git-effort.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md index 405ebb05289be..2bd5d59035c52 100644 --- a/pages/common/git-effort.md +++ b/pages/common/git-effort.md @@ -23,3 +23,7 @@ - Display files committed to, from specific chosen files, showing commits and active days: `git effort {{path/to/file_or_directory}}` + +- Display all files modified, in a specific directory, showing commits and active days: + +`git effort {{path/to/directory/*}}` \ No newline at end of file From add878feeb38f027a34665236731504a7277565b Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Thu, 20 May 2021 22:39:16 +0200 Subject: [PATCH 08/14] possibly fixed bot issue --- pages/common/git-effort.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md index 2bd5d59035c52..cccd68a9ad0fc 100644 --- a/pages/common/git-effort.md +++ b/pages/common/git-effort.md @@ -26,4 +26,4 @@ - Display all files modified, in a specific directory, showing commits and active days: -`git effort {{path/to/directory/*}}` \ No newline at end of file +`git effort {{path/to/directory/*}}` From dbe989f17edf14001655b46a323c89cac6912eda Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 21 May 2021 14:34:28 +0200 Subject: [PATCH 09/14] git-root: add page --- pages/common/git-root.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 pages/common/git-root.md diff --git a/pages/common/git-root.md b/pages/common/git-root.md new file mode 100644 index 0000000000000..e69de29bb2d1d From c2dfa0b43a43441fba3fc0be14e0a13c3624c166 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 21 May 2021 14:34:58 +0200 Subject: [PATCH 10/14] Didn't save... --- pages/common/git-root.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pages/common/git-root.md b/pages/common/git-root.md index e69de29bb2d1d..ddf26d8a42894 100644 --- a/pages/common/git-root.md +++ b/pages/common/git-root.md @@ -0,0 +1,13 @@ +# git root + +> Print Current Working directory. +> Part of `git-extras`. +> More information: . + +- Print directory currently opened in a Git repository, from root directory: + +`git root` + +- Print directory currently opened in a Git repository, from beginning of repository: + +`git root --relative` From 9e9f3c77d283284b2cc291f1accea4d8754e87ae Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 21 May 2021 14:36:47 +0200 Subject: [PATCH 11/14] Somehow, git-effort got slipped in --- pages/common/git-effort.md | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 pages/common/git-effort.md diff --git a/pages/common/git-effort.md b/pages/common/git-effort.md deleted file mode 100644 index cccd68a9ad0fc..0000000000000 --- a/pages/common/git-effort.md +++ /dev/null @@ -1,29 +0,0 @@ -# git effort - -> Display how much activity a file has had, showing commits per file and "active days" i.e. total number of days that contributed to the file. -> Part of `git-extras`. -> More information: . - -- Display each file in the repository, showing commits and active days: - -`git effort` - -- Display files modified by specific number of commits or more, showing commits and active days: - -`git effort --above {{5}}` - -- Display files modified by a specific author, showing commits and active days: - -`git effort -- --author"{{username}}"` - -- Display files modified at a specific time/date, showing commits and active days: - -`git effort -- --since='{{last month}}'` - -- Display files committed to, from specific chosen files, showing commits and active days: - -`git effort {{path/to/file_or_directory}}` - -- Display all files modified, in a specific directory, showing commits and active days: - -`git effort {{path/to/directory/*}}` From 20370830c810bd2fc6075da1b5e7e7712ff3e708 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 21 May 2021 14:56:18 +0100 Subject: [PATCH 12/14] Update pages/common/git-root.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/git-root.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-root.md b/pages/common/git-root.md index ddf26d8a42894..4d3b58faecd37 100644 --- a/pages/common/git-root.md +++ b/pages/common/git-root.md @@ -4,7 +4,7 @@ > Part of `git-extras`. > More information: . -- Print directory currently opened in a Git repository, from root directory: +- Print the absolute path of the current Git repository: `git root` From d74ad17497d04d031b4ea822f362df18b93e1327 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 21 May 2021 15:16:21 +0100 Subject: [PATCH 13/14] Update pages/common/git-root.md Co-authored-by: Axel Navarro --- pages/common/git-root.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-root.md b/pages/common/git-root.md index 4d3b58faecd37..4b1ca17990e1f 100644 --- a/pages/common/git-root.md +++ b/pages/common/git-root.md @@ -1,6 +1,6 @@ # git root -> Print Current Working directory. +> Print the root directory of the current Git repository. > Part of `git-extras`. > More information: . From 8f012b9bbf214ee62e5458f705dfd23f2c58fb8a Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Fri, 21 May 2021 15:26:26 +0100 Subject: [PATCH 14/14] Update pages/common/git-root.md Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> --- pages/common/git-root.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-root.md b/pages/common/git-root.md index 4b1ca17990e1f..3bb3577f3e86e 100644 --- a/pages/common/git-root.md +++ b/pages/common/git-root.md @@ -8,6 +8,6 @@ `git root` -- Print directory currently opened in a Git repository, from beginning of repository: +- Print the current working directory relative to the root of the current Git repository: `git root --relative`