From cfd529a5d8f8dab3cf1490ae270300b021f27e53 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 17 Nov 2024 17:03:30 +0100 Subject: [PATCH] rm --- shell/alias/git.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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() {