#1131: Add rule for Git commit with no added files
This commit is contained in:
committed by
Pablo Santiago Blum de Aguiar
parent
799f4127ca
commit
55922e4dbe
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user