From f5b83c2d8c560585002c65c8635eec32570cee4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Fr=C3=B6mer?= Date: Tue, 11 Apr 2017 18:41:13 +0200 Subject: [PATCH] Rename git alias to better reflect name convention This will rename the previous alias `gmv` to `gbm` to better reflect the naming as it will rename the branch not move a file. Also introduce `gmv` as an alias for `git mv` to move files. --- aliases/available/git.aliases.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aliases/available/git.aliases.bash b/aliases/available/git.aliases.bash index 0c96f8a4..878fb286 100644 --- a/aliases/available/git.aliases.bash +++ b/aliases/available/git.aliases.bash @@ -15,6 +15,7 @@ alias gus='git reset HEAD' alias gpristine='git reset --hard && git clean -dfx' alias gclean='git clean -fd' alias gm="git merge" +alias gmv='git mv' alias g='git' alias get='git' alias gst='git status' @@ -42,7 +43,7 @@ alias gci='git commit --interactive' alias gb='git branch' alias gba='git branch -a' alias gbt='git branch --track' -alias gmv='git branch -m' +alias gbm='git branch -m' alias gcount='git shortlog -sn' alias gcp='git cherry-pick' alias gco='git checkout'