git-find-replace

command module
v0.0.0-...-467393f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2023 License: MIT Imports: 7 Imported by: 0

README

git-find-replace

This is a small tool which can be used to find and replace literal strings in a Git repository.

It uses git grep -l -F to search for the pattern and strings.ReplaceAll from Go to replace the matches within the files.

Usage:

go install -v github.com/paralin/git-find-replace@main
cd ./my/git/repo
git find-replace 'SearchString' 'ReplaceString'

Searches and replaces in files in and below the working dir.

Ignores files ignored by .gitignore.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL