Add a git_add rule

This commit is contained in:
mcarton
2015-05-06 11:31:31 +02:00
parent fb069b74d7
commit 9380eb1f56
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -145,6 +145,7 @@ using matched rule and run it. Rules enabled by default:
* `cd_mkdir` – creates directories before cd'ing into them;
* `cp_omitting_directory` – adds `-a` when you `cp` directory;
* `fix_alt_space` – replaces Alt+Space with Space character;
* `git_add` – fix *"Did you forget to 'git add'?"*;
* `git_no_command` – fixes wrong git commands like `git brnch`;
* `git_push` – adds `--set-upstream origin $branch` to previous failed `git push`;
* `has_exists_script` – prepends `./` when script/binary exists;