Skip to content

Instantly share code, notes, and snippets.

@nickboldt
Last active July 30, 2022 19:23
Show Gist options
  • Save nickboldt/67ad86895d1b10164ea0fdbcdadefd02 to your computer and use it in GitHub Desktop.
Save nickboldt/67ad86895d1b10164ea0fdbcdadefd02 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Nick Boldt
email = [email protected]
[giggle]
main-window-maximized = false
main-window-geometry = 1324x838+0+24
main-window-view = HistoryView
[core]
trustctime = false
branch = auto
diff = auto
interactive = auto
status = auto
editor = /usr/bin/vim
autocrlf = false
[diff]
editor = /opt/sublimetext3/sublime_text
tool = bc3
#tool = vimdiff
[merge]
editor = /opt/sublimetext3/sublime_text
tool = bc3
#tool = vimdiff
[pager]
log = diff-highlight | less
show = diff-highlight | less
diff = diff-highlight | less
[receive]
denyCurrentBranch = warn
[color]
ui = auto
diff = true
grep = true
branch = true
showbranch = true
status = true
[branch]
autosetupmerge = true
autosetuprebase = always
[color "diff"]
plain = normal dim
meta = yellow dim
frag = blue bold
old = magenta
new = cyan
whitespace = red reverse
[color "status"]
header = normal dim
added = yellow
untracked = magenta
[color "branch"]
current = yellow reverse
local = yellow
remote = red
[alias]
lg = !git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(blue)%aE%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lgl = !git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s \n\t\t\t%C(blue)%aN %aE, %cN %cE%Creset %Cgreen(%cD - %cr)%Creset' --abbrev-commit --date=relative --stat
ch = !sh -c 'git rebase -i HEAD~$1' -
co = !sh -c 'git checkout' -
[credential]
helper = cache --timeout=31536000
[push]
default = matching
# for gerrit config
#[remote "review"]
# push = HEAD:refs/for/master
[hub]
host = gitlab.mw.lab.eng.bos.redhat.com
protocol = https
[init]
templatedir = ~/.git-templates
[filesystem "Red Hat, Inc.|11.0.8|/dev/mapper/fedora_localhost--live-home"]
timestampResolution = 10000 nanoseconds
minRacyThreshold = 12842 microseconds
[filesystem "Red Hat, Inc.|11.0.9|/dev/mapper/fedora_localhost--live-home"]
timestampResolution = 13000 nanoseconds
minRacyThreshold = 1702 microseconds
[pull]
rebase = true
[http]
postBuffer = 524288000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment