Skip to content

QuentinHsu/ohgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ohgit

Git log statistics tool written in Go.

It is also my Go beginner's practice project.

install

go install github.com/QuentinHsu/ohgit@latest

command

  • path: 指定 Git 仓库的路径,不指定则默认是命令执行路径

    ohgit --path ./
    
    ohgit --path ~
  • stat-day:Git log 统计天数,从命令执行时间所在日期起倒推 n 天,默认 1 天

    ohgit --stat-day 7
  • user:指定查询的 Git commit 作者,不指定则不按作者过滤查询

    ohgit --user QuentinHsu

Releases

No releases published

Packages

No packages published