浏览代码

chore(git): fix typo

Carlo Sala 2 月之前
父节点
当前提交
367e9381df
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
-# 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