Use right way to read the origin url

This commit is contained in:
Joe Block
2016-04-07 11:02:19 -07:00
parent d3eff536eb
commit 502e10fcb3

View File

@@ -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