#N/A Add a new rule git_branch_exists

This commit is contained in:
Pablo Santiago Blum de Aguiar
2016-04-02 23:57:43 -03:00
parent d102af41d9
commit 0c98053f74
3 changed files with 55 additions and 0 deletions
+1
View File
@@ -158,6 +158,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `fix_file` – opens a file with an error in your `$EDITOR`;
* `git_add` – fixes *"pathspec 'foo' did not match any file(s) known to git."*;
* `git_branch_delete` – changes `git branch -d` to `git branch -D`;
* `git_branch_exists` – offers `git branch -d foo`, `git branch -D foo` or `git checkout foo` when creating a branch that already exists;
* `git_branch_list` – catches `git branch list` in place of `git branch` and removes created branch;
* `git_checkout` – fixes branch name or creates new branch;
* `git_diff_staged` – adds `--staged` to previous `git diff` with unexpected output;