And if you want to ignore what you want rg to ignore, not what you want git to ignore? Can you do that?
--no-ignore-vcs
Or some combination of --no-ignore (or -u/--unrestricted) with --ignore-file or --glob.
--no-ignore-vcs
Or some combination of --no-ignore (or -u/--unrestricted) with --ignore-file or --glob.