mirror of
https://github.com/adusak/bitbucket-git-helpers.plugin.zsh.git
synced 2026-03-25 19:01:02 +01:00
Use right way to read the origin url
This commit is contained in:
@@ -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