Use right way to read the origin url

This commit is contained in:
Joe Block committed 2016-04-07 11:02:19 -07:00
1 parent d3eff536eb
commit 502e10fcb3
1 file changed
+1 -1
+1 -1
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