From 367e9381dfae65e020cb5c439818e04ae1dd9423 Mon Sep 17 00:00:00 2001 From: Carlo Sala Date: Mon, 23 Sep 2024 17:32:44 +0200 Subject: [PATCH] chore(git): fix typo --- lib/git.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.zsh b/lib/git.zsh index 8237af751..0efff3e07 100644 --- a/lib/git.zsh +++ b/lib/git.zsh @@ -163,7 +163,7 @@ function git_current_branch() { } # Outputs the name of the previously checked out branch -# Usage example: git pull origin $(git_current_branch) +# Usage example: git pull origin $(git_previous_branch) # rev-parse --symbolic-full-name @{-1} only prints if it is a branch function git_previous_branch() { local ref