Files
dotfiles/git/gitconfig

45 lines
1023 B
Plaintext

[user]
name = Hannes Koerber
email = hannes.koerber@gmail.com
[alias]
untrack = "rm --cached"
unstage = "reset HEAD"
unmodify = "checkout --"
ignore-changes = "update-index --assume-unchangend"
unignore-changes = "update-index --no-assume-unchanged"
visual = "!gitk"
staged = "diff --staged"
co = "checkout"
ci = "commit"
st = "status"
br = "branch"
rb = "rebase"
df = "diff"
last = "log -1 HEAD"
logl = log --graph --decorate --pretty=oneline --abbrev-commit --all
pushall = "!sh -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r $1 ; } ; done' -"
[core]
editor = vim
pager = less
whitespace = ""
excludesfile = "~/.gitignore_global"
[color]
ui = true
[gui]
recentrepo = /home/hannes/programming/git-repositories/autobackup
[push]
default = simple
[merge]
tool = vimdiff
[gc]
auto = 0
[advice]
pushNonFastForward = false
statusHints = false
commitBeforeMerge = false