Skip to content

Instantly share code, notes, and snippets.

@mugyu
Created February 8, 2019 01:30
Show Gist options
  • Save mugyu/ededfabe7ef387ef70e01bf84511746c to your computer and use it in GitHub Desktop.
Save mugyu/ededfabe7ef387ef70e01bf84511746c to your computer and use it in GitHub Desktop.
ripgrep(rg) usage: like find

ripgrep(rg) usage

like find

$ rg -g {search_word} --files

include/exclude

$ rg {search_word} -g include_pattern -g !exclude_pattern

! as exclude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment