repositorypackage
0.7.1
Repository: https://github.com/aozora0000/git-dailylog.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
git-dailylog
commit log to dailylog
Description
Usage
Initialize
create
.dailylog
format file or copy from ~/.dailylog
$ git dailylog init
Log Format File .dailylog
Reference: Git log format string cheatsheet
--pretty="format:[format]"
"%h: %ad %an: %s"
Get
get commit log from:time.start to:today.end
$ git dailylog get [time: default today]
TimeFormat
for example Today = 2018-06-28
format | from | to |
---|---|---|
today | 2018-06-28 00:00:00 | 2018-06-28 23:59:59 |
yesterday | 2018-06-27 00:00:00 | 2018-06-28 23:59:59 |
2days | 2018-06-26 00:00:00 | 2018-06-28 23:59:59 |
1weeks | 2018-06-21 00:00:00 | 2018-06-28 23:59:59 |
1month | 2018-05-28 00:00:00 | 2018-06-28 23:59:59 |
1years | 2017-06-28 00:00:00 | 2018-06-28 23:59:59 |
Options
Reverse
default git log Desc. Asc git log use when reverse option.
$ git dailylog get today --reverse
Author Filter
$ git dailylog get today --author=aozora0000
Install
homebrew
$ brew tap aozora0000/git-dailylog
$ brew install git-dailylog
go get
To install, use go get
:
$ go get -d github.com/aozora0000/git-dailylog
Contribution
- Fork (https://github.com/aozora0000/git-dailylog/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request