From 502e10fcb3533666aa1c23935ba0a62853a8b664 Mon Sep 17 00:00:00 2001 From: Joe Block Date: Thu, 7 Apr 2016 11:02:19 -0700 Subject: [PATCH] Use right way to read the origin url --- bin/git-bb-open | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-bb-open b/bin/git-bb-open index 63953da..34ae9cf 100755 --- a/bin/git-bb-open +++ b/bin/git-bb-open @@ -17,7 +17,7 @@ def git_commit end def git_remote - `git remote -v | grep fetch`.chomp().split()[1] + `git config --get remote.origin.url`.chomp end def git_root