From e5577147713eb23a64a19aa8e38ce1c1410e4fe5 Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Tue, 11 May 2021 13:00:14 +0100 Subject: [PATCH] git-whatchanged: add page (#5935) --- pages/common/git-whatchanged.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/common/git-whatchanged.md diff --git a/pages/common/git-whatchanged.md b/pages/common/git-whatchanged.md new file mode 100644 index 0000000000..6a6ae929ff --- /dev/null +++ b/pages/common/git-whatchanged.md @@ -0,0 +1,17 @@ +# git whatchanged + +> Show what has changed with recent commits or files. +> See also `git log`. +> More information: . + +- Display logs and changes for recent commits: + +`git whatchanged` + +- Display logs and changes for recent commits within the specified time frame: + +`git whatchanged --since="{{2 hours ago}}"` + +- Display logs and changes for recent commits for specific files or directories: + +`git whatchanged {{path/to/file_or_directory}}`