diff --git a/man/git-standup.1 b/man/git-standup.1 index 2c992e8..8d929fd 100644 --- a/man/git-standup.1 +++ b/man/git-standup.1 @@ -1,6 +1,6 @@ .\" generated with Ronn-NG/v0.9.1 .\" http://github.com/apjanke/ronn-ng/tree/0.9.1 -.TH "GIT\-STANDUP" "1" "August 2021" "" "Git Extras" +.TH "GIT\-STANDUP" "1" "April 2022" "" "Git Extras" .SH "NAME" \fBgit\-standup\fR \- Recall the commit history .SH "SYNOPSIS" @@ -51,6 +51,13 @@ Display the commits in branch groups\. \-n number\-of\-commits .P Limit the number of commits displayed per group\. By default, the limitation is applied in the repository level\. For example, if you have 3 repositories under the current directory, \fBgit standup \|\.\|\.\|\. \-n 1\fR will show you 3 commits at most\. When \fB\-B\fR is specific, the limitation is applied in the branch level\. For instance, if each of your 3 repositories have 2 branches, \fBgit standup \|\.\|\.\|\. \-B \-n 1\fR will display 6 commits at most\. +.SH "GIT CONFIGS" +You can configure a implicit \-w \fIweekstart\-weekend\fR, which is superseded if \-w or \-d is given on the command line\. Note that the \fIweekstart\-weekend\fR must be specified, they don\'t have any default values as the \fB\-w\fR flag has\. +.IP "" 4 +.nf +$ git config \-\-global git\-extras\.standup\.implicit\-week "Mon\-Fri" +.fi +.IP "" 0 .SH "EXAMPLES" This shows your commits since yesterday: .IP "" 4 diff --git a/man/git-standup.html b/man/git-standup.html index 0d17140..47c08e0 100644 --- a/man/git-standup.html +++ b/man/git-standup.html @@ -57,6 +57,7 @@ SYNOPSIS DESCRIPTION OPTIONS + GIT CONFIGS EXAMPLES AUTHOR REPORTING BUGS @@ -136,6 +137,14 @@ When -B is specific, the limitation is applied in the branch level if each of your 3 repositories have 2 branches, git standup ... -B -n 1 will display 6 commits at most.

+

GIT CONFIGS

+ +

You can configure a implicit -w weekstart-weekend, which is superseded if -w or -d is given on the command line. +Note that the weekstart-weekend must be specified, they don't have any default values as the -w flag has.

+ +
$ git config --global git-extras.standup.implicit-week "Mon-Fri"
+
+

EXAMPLES

This shows your commits since yesterday:

@@ -198,7 +207,7 @@ master
  1. -
  2. August 2021
  3. +
  4. April 2022
  5. git-standup(1)
diff --git a/man/git-standup.md b/man/git-standup.md index 8cc30fe..8fa8660 100644 --- a/man/git-standup.md +++ b/man/git-standup.md @@ -62,6 +62,13 @@ When `-B` is specific, the limitation is applied in the branch level. For insta if each of your 3 repositories have 2 branches, `git standup ... -B -n 1` will display 6 commits at most. +## GIT CONFIGS + +You can configure a implicit -w , which is superseded if -w or -d is given on the command line. +Note that the must be specified, they don't have any default values as the `-w` flag has. + + $ git config --global git-extras.standup.implicit-week "Mon-Fri" + ## EXAMPLES This shows your commits since yesterday: