mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 00:05:10 +01:00
81 lines
2.6 KiB
INI
81 lines
2.6 KiB
INI
[user]
|
|
name = Michiel Scholten
|
|
email = michiel@diginaut.net
|
|
|
|
[giggle]
|
|
main-window-maximized = true
|
|
main-window-geometry = 430x306+0+26
|
|
history-view-vpane-position = 550
|
|
file-view-vpane-position = 730
|
|
main-window-view = HistoryView
|
|
|
|
[alias]
|
|
lol = log --pretty=oneline --abbrev-commit --graph --decorate
|
|
shove = commit -m \"$(curl http://whatthecommit.com/ 2> /dev/null |html2text |head -n1)\"
|
|
st = status
|
|
co = checkout
|
|
ci = commit
|
|
br = branch
|
|
c = commit -am
|
|
shame = blame
|
|
r = !GIT_NO_PAGER=1 git l -30
|
|
l = "!. ~/.githelpers && pretty_git_log"
|
|
|
|
# Some inspiration from https://gist.github.com/mwhite/6887990
|
|
# list branches sorted by last modified
|
|
b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"
|
|
|
|
# https://www.commandlinefu.com/commands/view/4519/list-all-authors-of-a-particular-git-project
|
|
authorstats = "!git log --format='%aN <%aE>' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn"
|
|
authors = !git log --format='%aN' | sort -u
|
|
authorsemail = !git log --all --format='%cN <%cE>' | sort -u
|
|
|
|
# list aliases
|
|
la = "!git config -l | grep alias | cut -c 7-"
|
|
|
|
# git change-commits GIT_COMMITTER_NAME "old name" "new name"
|
|
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f "
|
|
# from https://help.github.com/articles/remove-sensitive-data
|
|
remove-file = "!f() { git filter-branch -f --index-filter \"git rm --cached --ignore-unmatch $1\" --prune-empty --tag-name-filter cat -- --all; }; f"
|
|
|
|
[push]
|
|
default = simple
|
|
|
|
[core]
|
|
editor = vim
|
|
excludesfile = ~/.gitignore_global
|
|
|
|
[diff]
|
|
wsErrorHighlight = all
|
|
|
|
[url "git@github.com:"]
|
|
insteadOf = "gh:"
|
|
pushInsteadOf = "github:"
|
|
pushInsteadOf = "git://github.com/"
|
|
|
|
[url "git://github.com/"]
|
|
insteadOf = "github:"
|
|
|
|
[url "git@bitbucket.org:"]
|
|
insteadOf = "bb:"
|
|
pushInsteadOf = "bitbucket:"
|
|
pushInsteadOf = "git://bitbucket.org/"
|
|
|
|
[url "git://bitbucket.org/"]
|
|
insteadOf = "bitbucket:"
|
|
[pull]
|
|
rebase = false
|
|
[safe]
|
|
directory = /storage/emulated/0/Git/phren
|
|
directory = /storage/emulated/0/Git/divaultphren
|
|
directory = /storage/emulated/0/Git/mydocs
|
|
directory = /data/data/com.termux/files/home/.dot/dotfiles/
|
|
directory = /storage/emulated/0/Git/dammit.nl
|
|
directory = /mnt/chromeos/PlayFiles/Documents/phren
|
|
directory = /mnt/chromeos/PlayFiles/Documents/divaultphren
|
|
directory = /mnt/chromeos/PlayFiles/Documents/mydocs
|
|
#[http]
|
|
# postBuffer = 1048576000
|
|
# lowSpeedLimit = 0
|
|
# lowSpeedTime = 999999
|