From ce74d3ea3e98891bcb188115bc4dbe0b2a8fcc32 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 12 Dec 2014 20:55:38 -0800 Subject: [PATCH] git_reset_author_to_user --- dotfiles/lib/shellenv/functions.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dotfiles/lib/shellenv/functions.sh b/dotfiles/lib/shellenv/functions.sh index 2e50626e..b8fc0719 100644 --- a/dotfiles/lib/shellenv/functions.sh +++ b/dotfiles/lib/shellenv/functions.sh @@ -207,9 +207,7 @@ function git_reset_author() { git filter-branch -f --env-filter $filter_branch_command -- --all } -function git_reset_author_to_user { - git_reset_author -a "$(git config --get user.name)" -e "$(git config --get user.email)" "$@" -} +alias git_reset_author_to_user='git_reset_author -a "$(git config --get user.name)" -e "$(git config --get user.email)" ' function set_osx_hostname() { local new_hostname="${1-imalison}"