diff --git a/shell/alias/git.sh b/shell/alias/git.sh index 04719c1..9a423ac 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -438,14 +438,6 @@ git_re_base_interactive() { "${@}" } -# remove and add removal to index -grm() { git_re_move "${@}"; } -git_re_move() { - git \ - rm \ - "${@}" -} - # add a new remote repository grma() { git_re_mote_add "${@}"; } git_re_mote_add() { @@ -482,6 +474,14 @@ git_re_mote_set_upstream() { "${@}" } +# remove and add removal to index +grm() { git_re_move "${@}"; } +git_re_move() { + git \ + rm \ + "${@}" +} + # remove file(s) from index or move current branch pointer grs() { git_re_set "${@}"; } git_re_set() {