add git-lfs support (#1056)
* add mistyping support for git lfs * add the rule * fix flake8 * flake8 * add to readme * use fixtures and regex * get rid of additional matched strings
This commit is contained in:
@@ -214,6 +214,7 @@ following rules are enabled by default:
|
||||
* `git_fix_stash` – fixes `git stash` commands (misspelled subcommand and missing `save`);
|
||||
* `git_flag_after_filename` – fixes `fatal: bad flag '...' after filename`
|
||||
* `git_help_aliased` – fixes `git help <alias>` commands replacing <alias> with the aliased command;
|
||||
* `git_lfs_mistype` – fixes mistyped `git lfs <command>` commands;
|
||||
* `git_merge` – adds remote to branch names;
|
||||
* `git_merge_unrelated` – adds `--allow-unrelated-histories` when required
|
||||
* `git_not_command` – fixes wrong git commands like `git brnch`;
|
||||
|
||||
Reference in New Issue
Block a user