Categorygithub.com/aozora0000/git-dailylog
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

ScreenShot

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

formatfromto
today2018-06-28 00:00:002018-06-28 23:59:59
yesterday2018-06-27 00:00:002018-06-28 23:59:59
2days2018-06-26 00:00:002018-06-28 23:59:59
1weeks2018-06-21 00:00:002018-06-28 23:59:59
1month2018-05-28 00:00:002018-06-28 23:59:59
1years2017-06-28 00:00:002018-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

  1. Fork (https://github.com/aozora0000/git-dailylog/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

aozora0000