#1131: Add rule for Git commit with no added files

This commit is contained in:
Sergei Haller
2020-09-08 11:47:05 +02:00
committed by Pablo Santiago Blum de Aguiar
parent 799f4127ca
commit 55922e4dbe
3 changed files with 52 additions and 0 deletions
+1
View File
@@ -234,6 +234,7 @@ following rules are enabled by default:
* `git_branch_0flag` – fixes commands such as `git branch 0v` and `git branch 0r` removing the created branch;
* `git_checkout` – fixes branch name or creates new branch;
* `git_clone_git_clone` – replaces `git clone git clone ...` with `git clone ...`
* `git_commit_add` – offers `git commit -a ...` after previous commit if it failed because nothing was staged;
* `git_commit_amend` – offers `git commit --amend` after previous commit;
* `git_commit_reset` – offers `git reset HEAD~` after previous commit;
* `git_diff_no_index` – adds `--no-index` to previous `git diff` on untracked files;