Man page - git-standup(1)
Packages contas this manual
- git-fork(1)
- git-count(1)
- git-get(1)
- git-changelog(1)
- git-gh-pages(1)
- git-mr(1)
- git-feature(1)
- git-browse(1)
- git-rename-remote(1)
- git-summary(1)
- git-commits-since(1)
- git-lock(1)
- git-ignore(1)
- git-clear-soft(1)
- git-unlock(1)
- git-touch(1)
- git-missing(1)
- git-authors(1)
- git-pull-request(1)
- git-repl(1)
- git-clear(1)
- git-guilt(1)
- git-reauthor(1)
- git-rename-file(1)
- git-delete-submodule(1)
- git-bulk(1)
- git-undo(1)
- git-delete-tag(1)
- git-root(1)
- git-show-unmerged-branches(1)
- git-archive-file(1)
- git-delete-squashed-branches(1)
- git-create-branch(1)
- git-show-tree(1)
- git-magic(1)
- git-rename-branch(1)
- git-merge-into(1)
- git-graft(1)
- git-coauthor(1)
- git-cp(1)
- git-rename-tag(1)
- git-browse-ci(1)
- git-extras(1)
- git-fresh-branch(1)
- git-rebase-patch(1)
- git-brv(1)
- git-force-clone(1)
- git-pr(1)
- git-effort(1)
- git-ignore-io(1)
- git-stamp(1)
- git-delete-merged-branches(1)
- git-info(1)
- git-alias(1)
- git-scp(1)
- git-setup(1)
- git-local-commits(1)
- git-paste(1)
- git-contrib(1)
- git-show-merged-branches(1)
- git-sync(1)
- git-reset-file(1)
- git-delta(1)
- git-obliterate(1)
- git-abort(1)
- git-psykorebase(1)
- git-merge-repo(1)
- git-squash(1)
- git-standup(1)
- git-delete-branch(1)
- git-locked(1)
- git-utimes(1)
- git-release(1)
- git-sed(1)
apt-get install git-extras
Manual
| GIT-STANDUP(1) | Git Extras | GIT-STANDUP(1) |
NAME
git-standup - Recall the commit history
SYNOPSIS
git-standup [-a author] [-w weekstart-weekend|-d
days-ago] [-m depth] [-D date format] [-L] [-f] [-B] [-n number of
commits] [-F gpg|authordate]
git-standup -h
DESCRIPTION
Recall what you did on the last working day ..or be nosy and find what someone else did.
OPTIONS
-a author
The author of commits. Use "all" means specifying "all authors". Defaults to $(git config user.name).
-m depth
The depth of recursive directory search. Defaults to 1.
-L
Enable the inclusion of symbolic links in recursive directory search.
-d days-ago
The start of commit history. Defaults to 1, means "1 days ago".
-w weekstart-weekend
Limit the search range to weekdays. If weekstart and/or weekend are missing they default to Mon and Fri. If the current day is weekstart, commits made on weekend will be included. I.e. calling git standup -w - on a Monday will include commits made on the last Friday.
-D relative
The date format displayed in commit history. Defaults to "relative".
-h
Display help message.
-f
Fetch the latest commits before showing commit history.
The former version of git standup accepted <author> <since> <until> as options. This interface is deprecated now, and please avoid to use it!
-B
Display the commits in branch groups.
-n number-of-commits
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, git standup ... -n 1 will show you 3 commits at most. When -B is specific, the limitation is applied in the branch level. For instance, if each of your 3 repositories have 2 branches, git standup ... -B -n 1 will display 6 commits at most.
-F gpg|authordate
Change how the commits are formatted. Takes an argument, can be specified multiple times.
- -F gpg: Display if commit is GPG signed (G) or not (N).
- -F authordate: Print the author date instead of the commit date.
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:
-
$ git standup a26d1f9 - add profile hook (69 minutes ago) <spacewander>
This shows the author's commits since last week:
-
$ git standup -a spacewander -d 7 a26d1f9 - add profile hook (70 minutes ago) <spacewander> 4e19859 - fix getTotalSize return value error (6 days ago) <spacewander> 36da84e - fix rename over bound (7 days ago) <spacewander> 8e4182a - add watermark.png (7 days ago) <spacewander> 46fef1d - use tinyXML to configure (7 days ago) <spacewander>
If current directory is not a git repo, git-standup will fetch data from all top-level git repos under it:
-
$ cd .. $ git standup -a spacewander -d 7 someProject/ 4e19859 - fix getTotalSize return value error (6 days ago) <spacewander> 36da84e - fix rename over bound (7 days ago) <spacewander> 8e4182a - add watermark.png (7 days ago) <spacewander> 46fef1d - use tinyXML to configure (7 days ago) <spacewander>
By specifying the -B option, git-standuo will group the commits in branches:
-
$ git standup -B -a spacewander -d 7 git-summary-cleanup f788c78 - git-summary: clean up other shellcheck warnings (23 hours ago) <spacewander> 3e8c3ab - git-summary: fix incorrect active days when commits range is given (23 hours ago) <spacewander> ff991ac - git-summary: remove useless result function. (23 hours ago) <spacewander> 203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) <spacewander> master 203f5b4 - git-summary: add --dedup-by-email to remove duplicate users (5 days ago) <spacewander>
Note that the same commit can be seen in different branches.
AUTHOR
Originally from https://github.com/kamranahmedse/git-standup
REPORTING BUGS
<https://github.com/tj/git-extras/issues>
SEE ALSO
<https://github.com/tj/git-extras>
| October 2024 |