diff --git a/shell/alias/git.sh b/shell/alias/git.sh index df627b8..eaa83a6 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -456,15 +456,6 @@ git_re_mote_list() { "${@}" } -# show connection to a remote repository -grms() { git_re_mote_show "${@}"; } -git_re_mote_show() { - git \ - remote \ - show \ - "${@}" -} - # set the location of a remote repository grmsu() { git_re_mote_set_upstream "${@}"; } git_re_mote_set_upstream() { @@ -474,6 +465,15 @@ git_re_mote_set_upstream() { "${@}" } +# show connection to a remote repository +grms() { git_re_mote_show "${@}"; } +git_re_mote_show() { + git \ + remote \ + show \ + "${@}" +} + # remove and add removal to index grm() { git_re_move "${@}"; } git_re_move() { @@ -499,6 +499,14 @@ git_re_set_hard() { "${@}" } +# show a commit +gsc() { git_show_commit "${@}"; } +git_show_commit() { + git \ + show \ + "${@}" +} + # current state of repository gs() { git_status "${@}"; } git_status() { @@ -508,14 +516,6 @@ git_status() { "${@}" } -# show a commit -gsc() { git_show_commit "${@}"; } -git_show_commit() { - git \ - show \ - "${@}" -} - # tag a commit gt() { git_tag "${@}"; } git_tag() {