Skip to content

Instantly share code, notes, and snippets.

@djeikyb
Created May 4, 2023 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djeikyb/bb619f3668e96ac17e521ecff4df3c0f to your computer and use it in GitHub Desktop.
Save djeikyb/bb619f3668e96ac17e521ecff4df3c0f to your computer and use it in GitHub Desktop.
current gitconfig
[user]
name = Jacob
email = jace42@thegoogles.mail
[alias]
unstage = restore --staged
changelog = log --format='* %s%n%w(,4,4)%+b'
pick = cherry-pick
ll = log --graph --pretty=format:'%C(auto)%h %ad %d %s %C(white)[%aN]' --date='format:%y·%b·%d' --use-mailmap
l = ll --remotes='origin/head' origin/head~5..HEAD
la = ll --all
s = status
#s = status --short --branch --untracked-files=all
f = fetch --prune
re = rebase -i origin/head
frbi = "!f() { git rebase -i $(git ll --color=always | fzf --ansi | cut -d ' ' -f2)^ ; }; f"
; frbi = "!f() { git rebase -i $(git log --graph --pretty=format:'%C(auto)%h %ad %d %s %C(white)[%aN]' --date='format:%b %d' --use-mailmap --color=always | fzf --ansi --query='origin/master' | cut -d ' ' -f2)^ ; }; f"
[includeIf "gitdir:~/dev/eikon/"]
path = ~/.config/git/eikon.gitconfig
[includeIf "gitdir:~/dev/me/"]
path = ~/.config/git/me.gitconfig
[commit]
verbose = true
[init]
defaultBranch = trunk
[pull]
rebase = true
[tag]
sort = v:refname
[rebase]
autoStash = true
autosquash = true
[core]
autocrlf = input
[rerere]
enabled = true
[core]
editor = nvim
whitespace = error
commentchar = ";"
;pager = delta
[pager]
diff = delta
show = delta
log = delta
reflog = delta
[interactive]
diffFilter = delta --color-only
[delta]
syntax-theme = Monokai Extended
[mailmap]
file = "~/.mailmap"
[log]
mailmap = true
[push]
default = tracking
followTags = false
[diff]
renames = copies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment