mirror of
https://github.com/adusak/bitbucket-git-helpers.plugin.zsh.git
synced 2026-01-17 22:16:38 +01:00
Use right way to read the origin url
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user