#N/A: Add git_rm_local_modifications rule

This commit is contained in:
Pablo Santiago Blum de Aguiar
2016-10-29 17:41:36 -02:00
parent 5ee5439c1e
commit af28f0334a
3 changed files with 48 additions and 0 deletions
+1
View File
@@ -181,6 +181,7 @@ using the matched rule and runs it. Rules enabled by default are as follows:
* `git_push` – adds `--set-upstream origin $branch` to previous failed `git push`;
* `git_push_pull` – runs `git pull` when `push` was rejected;
* `git_rebase_no_changes` – runs `git rebase --skip` instead of `git rebase --continue` when there are no changes;
* `git_rm_local_modifications` – adds `-f` or `--cached` when you try to `rm` a locally modified file;
* `git_rm_recursive` – adds `-r` when you try to `rm` a directory;
* `git_remote_seturl_add` – runs `git remote add` when `git remote set_url` on nonexistant remote;
* `git_stash` – stashes you local modifications before rebasing or switching branch;