Skip to content

Instantly share code, notes, and snippets.

@djeikyb
Created September 20, 2021 18:52
Show Gist options
  • Save djeikyb/742af6379e917705481098d153335de4 to your computer and use it in GitHub Desktop.
Save djeikyb/742af6379e917705481098d153335de4 to your computer and use it in GitHub Desktop.
current gitconfig
[user]
name = Jacob Certain
email = [email protected]
[alias]
changelog = log --format='* %s%n%w(,4,4)%+b'
pick = cherry-pick
logg = log-oneline-graph
s = status --short --branch --untracked-files=all
l = log --graph --pretty=format:'%C(auto)%h %ad %d %s %C(white)[%aN]' --date='format:%b %d' --use-mailmap origin/master~10..HEAD
; ll = log --graph --pretty=format:'%C(auto)%h %ad %d %s %C(white)[%aN]' --date='format:%b %d' --remotes '@{upstream}' origin/master~10..HEAD
ll = log --graph --pretty=format:'%C(auto)%h %ad %d %s %C(white)[%aN]' --date='format:%b %d'
la = log --all --graph --pretty=format:'%C(auto)%h %ad %d %s %C(white)[%aN]' --date='format:%b %d'
f = fetch --prune
dirdiff = difftool --no-symlink --dir-diff
re = rebase -i origin/master
[core]
editor = nvim
whitespace = error
;pager = /usr/local/opt/git/share/git-core/contrib/diff-highlight/diff-highlight | less
pager = delta
[delta]
syntax-theme = Monokai Extended
[push]
default = upstream
;[color.diff]
; whitespace = blue reverse
[diff]
algorithm = histogram
tool = bcompare
[difftool]
prompt = false
[rerere]
enabled = true
[commit]
verbose = true
[tag]
sort = v:refname
[rebase]
autoStash = true
autosquash = true
[pull]
rebase = true
[cola]
spellcheck = false
[mailmap]
file = "~/.mailmap"
[init]
defaultBranch = trunk
[log]
mailmap = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment