Skip to content
noahshinnPublic

About

Search over git commit messages and GitHub issues

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcl

Git commit lookup

This command enables lexical search for git commit messages and GitHub issues.

Installation

Build from source

go install github.com/noahshinn/gcl/cmd@latest

Usage

Make sure that your current working directory is in a git project, then run:

gcl --query "some change about search and ranking"

gcl passes the since flag to git log (the default query is 1 week), so you can do:

gcl --query "some change about search and ranking" --since "1 day ago"

or

gcl --query "some change about search and ranking" --since "2014-02-12T16:36:00-07:00"

gcl returns the top 10 results by default. Pass --n to get more or less results:

gcl --query "some change about search and ranking" --n 1000

To search for GitHub issues, set the mode to issues. Note: the --since flag is not supported for issues yet.

gcl --query "some issue about orphan processes"

About

Search over git commit messages and GitHub issues

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages