forked from colonelpanic/dotfiles
git_reset_author_to_user
This commit is contained in:
parent
5c856b552c
commit
ce74d3ea3e
@ -207,9 +207,7 @@ function git_reset_author() {
|
|||||||
git filter-branch -f --env-filter $filter_branch_command -- --all
|
git filter-branch -f --env-filter $filter_branch_command -- --all
|
||||||
}
|
}
|
||||||
|
|
||||||
function git_reset_author_to_user {
|
alias git_reset_author_to_user='git_reset_author -a "$(git config --get user.name)" -e "$(git config --get user.email)" '
|
||||||
git_reset_author -a "$(git config --get user.name)" -e "$(git config --get user.email)" "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
function set_osx_hostname() {
|
function set_osx_hostname() {
|
||||||
local new_hostname="${1-imalison}"
|
local new_hostname="${1-imalison}"
|
||||||
|
Loading…
Reference in New Issue
Block a user