Last active
February 21, 2023 19:21
-
-
Save kowal/33f495737d0fd1f2f58e44fbbc736675 to your computer and use it in GitHub Desktop.
.gitconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
br = branch | |
co = checkout | |
cp = cherry-pick | |
dd = diff develop | |
dm = diff main | |
st = status | |
bn = symbolic-ref --short HEAD | |
amend = commit -a --amend | |
up = !clear && git fetch && git whatchanged --stat --pretty=format:'%Cred%h%Creset %C(bold blue)[%an]%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)' --date=relative ..origin | |
logs = log --pretty=oneline --graph | |
lg = log --graph --pretty=format:'%Cred%h%Creset %C(bold blue)[%an]%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)' --abbrev-commit --date=relative | |
changes = diff --name-status -r | |
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -" | |
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short | |
[user] | |
email = <EMAIL> | |
name = Marek Kowalcze | |
[rerere] | |
enabled = true | |
[diff "zip"] | |
textconv = unzip -c -a | |
[difftool] | |
prompt = false | |
[push] | |
default = current | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true | |
[interactive] | |
diffFilter = delta --color-only | |
[delta] | |
features = side-by-side line-numbers decorations | |
whitespace-error-style = 22 reverse | |
[delta "decorations"] | |
commit-decoration-style = bold yellow box ul | |
file-style = bold yellow ul | |
file-decoration-style = none | |
[pull] | |
ff = only | |
[core] | |
excludesfile = /Users/marek.kowalcze/.gitignore | |
pager = delta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment