From 60494b5611f28c232d969ef136905a472b3295ed Mon Sep 17 00:00:00 2001 From: Chauncey Garrett Date: Mon, 3 Jun 2013 15:01:11 -0500 Subject: [PATCH] Added git-url alias Needed a quick way to grab the original URL of a git repo. [ticket: X] --- modules/git/alias.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index bf6d3644..b07d5b39 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -28,6 +28,9 @@ zstyle -s ':prezto:module:git:status:ignore' submodules '_git_status_ignore_subm # Git alias g='git' +alias gh='git-hub-browse' +alias ..g='git rev-parse && cd "$(git rev-parse --show-cdup)"' +alias git-url='git config --get remote.origin.url' # Branch (b) alias gb='git branch'