Remove ignoral of files or directories from .gitignore
Apache 2.0This recipe will remove a file or directory from the .gitignore file. If the file or directory is already in the .gitignore file, it will be removed or negated. If the file or directory is not in the .gitignore file, no action will be taken.
org. openrewrite. ExcludeFileFromGitignoreRequired
The paths to find and remove from the gitignore files. Separate values with commas.
mod run . --recipe= org. openrewrite. ExcludeFileFromGitignore \
-P paths= / folder/ file. txtInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.