Skip to content

Commit 642d06b

Browse files
authored
Merge pull request #2391 from m3adow/fix/fix-get-default-branch-function
Fix get_default_branch function
2 parents 2e652f1 + 1b42db9 commit 642d06b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aliases/available/git.aliases.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,5 +235,5 @@ function gdv() {
235235

236236
function get_default_branch() {
237237
branch=$(git symbolic-ref refs/remotes/origin/HEAD)
238-
${branch#refs/remotes/origin/}
238+
echo "${branch#refs/remotes/origin/}"
239239
}

0 commit comments

Comments
 (0)