https://github.com/marekjm/git-this-day
Remind me what I have done today
https://github.com/marekjm/git-this-day
convenience git helper reporting tool
Last synced: 2 months ago
JSON representation
Remind me what I have done today
- Host: GitHub
- URL: https://github.com/marekjm/git-this-day
- Owner: marekjm
- License: gpl-3.0
- Created: 2017-02-09T16:50:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-10T16:03:52.000Z (over 9 years ago)
- Last Synced: 2025-10-16T13:38:46.604Z (8 months ago)
- Topics: convenience, git, helper, reporting, tool
- Language: Shell
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
# This day in Git repository
A script to extract a list of all recent commits from most recently active branches of a Git repository.
----
## Installation
Execute `make` to install all required scripts.
Add a `this-day` alias to your `~/.gitconfig`; it should look something like this after the edits:
```
[user]
name = John Doe
email = john.doe@example.com
[alias]
this-day = "!f() { /usr/local/lib/git-this-day/what-have-i-done-today.sh $@; }; f"
```
#### Removal
Execute `make uninstall` to remove the script from your system.
----
## Dependencies
The script depends on:
- Git (obviously; at least in version 2.11.1)
- BASH (any version in 4.x line)
- xargs (from GNU findutils; version at least 4.6.0)
The script also depends on you having an email configured in `~/.gitconfig` as
it tracks your commits by email.
----
## Configuration
The following environment variables are used to configure the script.
### `GIT_THIS_DAY_DEPTH`
**Default**: 40
How many branches should be analysed?
Set this to a reasonable number.
A good default is the number of branches you usually update throughout the day plus 20% (to cover
especially busy days).
Special value `all` will make the script scan all branches (instead of only the N most recent ones) for
fresh commits.
### `GIT_THIS_DAY_USER_EMAIL`
**Default**: `git config --get user.email`
Email that will be used to track commits.
----
## License and copyright
Copyright (c) 2017 Marek Marecki
This code is published under GNU GPL v3 or any later version of this license.