Browse Source

chore(git): fix typo

Carlo Sala 2 months ago
parent
commit
367e9381df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/git.zsh

+ 1 - 1
lib/git.zsh

@@ -163,7 +163,7 @@ function git_current_branch() {
 }
 }
 
 
 # Outputs the name of the previously checked out 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
 # rev-parse --symbolic-full-name @{-1} only prints if it is a branch
 function git_previous_branch() {
 function git_previous_branch() {
   local ref
   local ref