this repo has no description
at main 5.0 kB view raw
1[alias] 2 age = !echo "First commit:" && git log --reverse --pretty=format:'\t\t%ar' | head -n 1 && echo 'Last commit:' && git log --pretty=format:'\t\t%ar' | head -n 1 3 authors = !"git log | grep ^Author: | sed 's/ <.*//; s/^Author: //' | sort | uniq -c | sort -nr" 4 b = branch -v 5 ba = !git branch -va --color | grep -v remotes/changes/ 6 bl = !git branch -vv --color | grep -v '\\[.*\\/.*\\] ' 7 br = !git branch -vr --color | grep -v 'origin/HEAD' 8 burn = reset --hard HEAD^ 9 changed-files = "!f(){ git show --name-only --pretty=format: $1 | sort | uniq | awk NF; }; f" 10 ci = commit -v 11 cia = commit -v -a 12 ciaa = commit -v -a --amend 13 cleanup = "!git branch --merged | egrep -v '[*]|main|master|development|latest|release' | xargs git branch -d" 14 co = checkout 15 compact = gc --prune --aggressive 16 conflicted=diff --name-only --diff-filter=U 17 continue = "-c core.editor=true rebase --continue" 18 cp = cherry-pick 19 cpsha = !git sha | pbcopy 20 d = diff 21 down = "!f() { git push -u ${1:-origin} $(git rev-parse --abbrev-ref HEAD); }; f" 22 expire = reflog expire --expire=30.days refs/stash 23 ff = merge --ff-only 24 files = "!git ls-files --modified --cached --other --exclude-standard | sort | uniq" 25 fixup = commit --amend --reuse-message=HEAD 26 gone = "!f() { git branch -v | grep -v '*' | grep '\\[gone\\]' | awk '{print $1}' | xargs git branch -D; }; f" 27 head = "!f() { git log -1; git diff HEAD^ HEAD; }; f" 28 hunk = add -p 29 ignored = "!git ls-files --others --exclude-standard" 30 info = remote show origin 31 latest = for-each-ref --count=10 --sort=-committerdate --format='%(committerdate:short) %(refname:short)' 32 lc = log ORIG_HEAD.. --stat --no-merges 33 lg = log --all --graph --decorate --oneline --simplify-by-decoration 34 llog = log --date=local 35 ls = "!git log --date=relative --pretty='format:%C(yellow)%h%C(reset) %G? %C(blue)%>(14,trunc)%ad %C(green)%<(19)%aN%C(reset)%s%C(red)% gD% D'" 36 msg = !"git log -1 --oneline | cut -d ' ' -f 2-" 37 noff = merge --no-ff 38 zap = "!git reset --hard HEAD" 39 nuke = "!git reset --hard HEAD && git clean -fd" 40 pending = "!git --no-pager log --pretty=format:'%Cblue%ar%Creset\t%s' origin/master..master && echo" 41 prl = pull-request-last-commit 42 punch = push --force 43 rc = commit --amend -C HEAD 44 recommit = commit --amend -C HEAD 45 review = !git-review 46 rup = remote update -p 47 sha = log -1 --pretty=format:%H 48 sign = "!f() { git rebase \"${1:-$((git branch | egrep 'main|master|development|latest|release' || echo 'master') | sed 's|* |origin/|' | awk '{print $1}')}\" --exec 'git commit --amend --no-edit -n -S'; }; f" 49 st = status -sb 50 track = "!f(){ branch=$(git name-rev --name-only HEAD); cmd=\"git branch --set-upstream-to ${1:-origin}/${2:-$branch} $branch\"; echo $cmd; $cmd; }; f" 51 uncommit = reset --soft HEAD^ 52 up = "!git fetch && git merge --ff-only" 53 wd = diff --word-diff 54 wipe = "!git remote | sed -E \"/^(origin|upstream|indirect)$/d\" | xargs -L 1 git remote rm" 55[branch] 56 autosetupmerge = true 57[color] 58 branch = auto 59 diff = auto 60 status = auto 61 ui = auto 62[core] 63 attributesfile = ~/.gitattributes 64 excludesfile = ~/.gitignore 65 legacyheaders = false 66 pager = delta 67 ; pager = delta --features "$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo dark-mode || echo light-mode)" 68[push] 69 default = simple 70[repack] 71 usedeltabaseoffset = true 72[rerere] 73 enabled = true 74[user] 75 name = André Arko 76 email = andre@arko.net 77[filter "lfs"] 78 required = true 79 clean = git-lfs clean -- %f 80 smudge = git-lfs smudge -- %f 81 process = git-lfs filter-process 82[diff] 83 algorithm = histogram 84 colorMoved = default 85[github] 86 user = indirect 87[gpg] 88 program = bpb 89[commit] 90 gpgSign = true 91[tag] 92 forceSignAnnotated = true 93[merge] 94 conflictstyle = zdiff3 95[rebase] 96 autoStash = true 97[protocol] 98 version = 2 99[interactive] 100 diffFilter = delta --color-only --features "$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo dark-mode || echo light-mode)" 101[pull] 102 rebase = true 103[diff "rspec"] 104 xfuncname = "^[ \t]*((RSpec|describe|context|it|before|after|around|feature|scenario|background)[ \t].*)$" 105[diff "plist"] 106 textconv = plutil -convert xml1 -o - 107[diff "age"] 108 textconv = chezmoi decrypt 109[init] 110 defaultBranch = main 111[delta "light-mode"] 112 light = true 113 syntax-theme = GitHub 114[delta "dark-mode"] 115 light = false 116 syntax-theme = Visual Studio Dark+ 117[delta] 118 navigate = true 119[maintenance] 120 repo = /Users/andre/.zsh/znap/fzf-zsh-plugin 121 repo = /Users/andre/.zsh/znap/mac-zsh-completions 122 repo = /Users/andre/.zsh/znap/powerlevel10k 123 repo = /Users/andre/.zsh/znap/zsh-autosuggestions 124 repo = /Users/andre/.zsh/znap/zsh-history-substring-search 125 repo = /Users/andre/.zsh/znap/zsh-syntax-highlighting 126 repo = /Users/andre/.zsh/znap/zsh-vim-mode 127 repo = /Users/andre/.zsh/znap/zsh-you-should-use 128[credential "https://github.com"] 129 helper = 130 helper = !/opt/homebrew/bin/gh auth git-credential 131[credential "https://gist.github.com"] 132 helper = 133 helper = !/opt/homebrew/bin/gh auth git-credential 134[http] 135 postBuffer = 157286400 136[ghq] 137 root = ~/src