From ee65a96b22fa3ae396a7b1e5b736e30d34ed98e9 Mon Sep 17 00:00:00 2001 From: Joel Kuzmarski Date: Sun, 25 Aug 2013 15:17:35 -0500 Subject: [PATCH] Add an alias to set the URL of a remote --- modules/git/README.md | 1 + modules/git/alias.zsh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/modules/git/README.md b/modules/git/README.md index 0dd932f6..2e8bee7d 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -159,6 +159,7 @@ Aliases - `gRa` adds a new remote. - `gRx` removes a remote. - `gRm` renames a remote. + - `gRe` sets the URL of a remote. - `gRu` fetches remotes updates. - `gRp` prunes all stale remote tracking branches. - `gRs` displays information about a given remote. diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index bf6d3644..d8e0c7e0 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -3,6 +3,7 @@ # # Authors: # Sorin Ionescu +# Joel Kuzmarski # # @@ -137,6 +138,7 @@ alias gRl='git remote --verbose' alias gRa='git remote add' alias gRx='git remote rm' alias gRm='git remote rename' +alias gRe='git remote set-url' alias gRu='git remote update' alias gRp='git remote prune' alias gRs='git remote show'