Skip to content

Instantly share code, notes, and snippets.

@joaom00
Last active August 26, 2021 16:16
Show Gist options
  • Save joaom00/39983bb39f74bc42e3dd60a59f878331 to your computer and use it in GitHub Desktop.
Save joaom00/39983bb39f74bc42e3dd60a59f878331 to your computer and use it in GitHub Desktop.
[user]
name = João Pedro
email = [email protected]
[include]
path = ~/themes.gitconfig
[init]
defaultBranch = main
[core]
editor = nvim
pager = delta
[commit]
template = ~/.gitmessage
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[format]
pretty = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset
[alias]
# Thanks r00k, this creates a pretty graph view of the log
lg = log --graph --abbrev-commit --date=relative
c = commit -m
[delta]
features = coracias-caudatus
navigate = true
[interactive]
diffFilter = delta --color-only
[pull]
rebase = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment