Skip to content

Tool to find and replace literal strings within a Git repo.

License

Notifications You must be signed in to change notification settings

paralin/git-find-replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tool to find and replace literal strings within a Git repo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages