We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806e0ab commit 2352570Copy full SHA for 2352570
git-parse-remote.sh
@@ -56,7 +56,7 @@ get_remote_url () {
56
57
get_default_remote () {
58
curr_branch=$(git symbolic-ref -q HEAD)
59
- curr_branch="${cur_branch#refs/heads/}"
+ curr_branch="${curr_branch#refs/heads/}"
60
origin=$(git config --get "branch.$curr_branch.remote")
61
echo ${origin:-origin}
62
}
0 commit comments