https://github.com/semihbkgr/git-find
search texts on a specific git commit
https://github.com/semihbkgr/git-find
git go golang search tool
Last synced: about 2 months ago
JSON representation
search texts on a specific git commit
- Host: GitHub
- URL: https://github.com/semihbkgr/git-find
- Owner: semihbkgr
- License: mit
- Created: 2022-06-01T20:57:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-23T20:14:41.000Z (almost 4 years ago)
- Last Synced: 2025-08-09T21:38:47.711Z (11 months ago)
- Topics: git, go, golang, search, tool
- Language: Go
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-find
[](https://github.com/semihbkgr/git-find/actions/workflows/ci.yml)
[](https://pkg.go.dev/github.com/semihbkgr/git-find)
'git-find' is a tool that enables you to search texts on a specific git commit.
```shell
git find [args --commit= --ignore-case ...] [search terms]
```
to list all available args: 'git-find --help'
### Installation
```shell
go install github.com/semihbkgr/git-find@latest
```
### Usage
to find 'todo' and 'func' keywords on commit '9aaf0b4'
```shell
git find --commit=9aaf0b4 --ignore-case --removed todo func
# --commit: defines which commit you want to search on
# --ignore-case: apply case-insensitive search
# --removed: prints removed lines as well
```
output

to search on working tree, do not pass 'commit' arg.
```shell
git find [search terms]
```
to list all available args
```shell
git-find --help
```