rg 基础。rg 101
THIS IS A WORK IN PROGRESS
search PATTERN
in files but exclude files whose path matches EXCLUDE_PATH_PATTERN
!
means exclude, -g
option expects GLOB not regex.
1
$ rg hello -g !*node_modules*
本文由作者按照 CC BY 4.0 进行授权