diff --git a/home/profiles/git/config b/home/profiles/git/config index 77aa9ce7..fe1ecd5f 100644 --- a/home/profiles/git/config +++ b/home/profiles/git/config @@ -26,11 +26,15 @@ email-domains = !git log --format="%aE" | awk -F'@' '{print $2}' | sort -u # pretty log ls = !git log --graph --abbrev-commit --decorate --color=always --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) - %C(dim red)%an%C(reset)%C(bold yellow)%d%C(reset)' --all + undo = !git reset HEAD~1 --mixed + blm = blame -w -C -C -C [filter "lfs"] required = true smudge = git-lfs smudge -- %f process = git-lfs filter-process clean = git-lfs clean -- %f +[url "git@github.com:"] + insteadOf = https://github.com/ [url "https://github.com/"] insteadOf = gh: [url "git@github.com:"]