diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-05-26 13:05:53 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-05-26 13:08:07 +0200 |
commit | f073720476b2bc19346049e4f2c774469289410f (patch) | |
tree | f5d0d1f0836dd786d5c01f0ba79e429e1e945cbb /config/essentials/git | |
parent | b73f0c173702001c089f6db91a582765db80861e (diff) |
update
cycle keyboard in fillpass to qwerty because of ydotool
disable fast-forward in git config
add alias to git config for changing email
add unhappy.exe shell function
add ssh_port shell function
disable upds in prompt
remove options from LESS variable
add entry to zsh gitignore
Diffstat (limited to 'config/essentials/git')
-rw-r--r-- | config/essentials/git/config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/essentials/git/config b/config/essentials/git/config index fcf80db..cb16983 100644 --- a/config/essentials/git/config +++ b/config/essentials/git/config @@ -10,3 +10,7 @@ rebase = false [commit] gpgsign = true +[merge] + ff = false +[alias] + change-commits = "!f() { VAR1=$1; VAR='$'$1; OLD=$2; NEW=$3; echo \"Are you sure for replace $VAR $OLD => $NEW ?(Y/N)\";read OK;if [ \"$OK\" = 'Y' ] ; then shift 3; git filter-branch --env-filter \"if [ \\\"${VAR}\\\" = '$OLD' ]; then export $VAR1='$NEW';echo 'to $NEW'; fi\" $@; fi;}; f " |