mirror of
https://github.com/adusak/bitbucket-git-helpers.plugin.zsh.git
synced 2026-11-27 10:42:34 +01:00
Use right way to read the origin url
This commit is contained in:
1 parent
d3eff536eb
commit
502e10fcb3
1 file changed
+1
-1
+1
-1
@@ -17,7 +17,7 @@ def git_commit
|
|||||||
end
|
end
|
||||||
|
|
||||||
def git_remote
|
def git_remote
|
||||||
`git remote -v | grep fetch`.chomp().split()[1]
|
`git config --get remote.origin.url`.chomp
|
||||||
end
|
end
|
||||||
|
|
||||||
def git_root
|
def git_root
|
||||||
|
|||||||
Reference in new issue
Block a user