From 6cc0e81e522fd68dbb4681335fa25ad918f34e31 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Tue, 19 Jul 2022 17:14:37 +0100 Subject: [PATCH] Update the git helpers names --- lib/git.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.zsh b/lib/git.zsh index bed17df..c9c51da 100755 --- a/lib/git.zsh +++ b/lib/git.zsh @@ -151,7 +151,7 @@ function git_commits_from() { git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative $1..$(git branch --show-current) } -function reset_branch_commits() { +function git_reset_branch_commits() { git reset $(git merge-base $1 $(git branch --show-current)) }