git_reset_author_to_user
This commit is contained in:
parent
27111a0c58
commit
5c856b552c
@ -207,6 +207,10 @@ 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 {
|
||||||
|
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}"
|
||||||
sudo scutil --set ComputerName $new_hostname
|
sudo scutil --set ComputerName $new_hostname
|
||||||
|
Loading…
Reference in New Issue
Block a user