Jochen Sprickerhof
Last changed: 2022-01-02

Software

Git Config

[user]
    name = Name
    email = Mail
[alias]
    ci = commit
    st = status --show-stash
    co = checkout
    ft = fetch --tags
    wdiff = diff --color-words
    graph = log --graph --decorate --branches --remotes
    check = !git status && git log @{u}.. && git branch && git stash list
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --abbrev-commit --date=format:'%a %d.%m.%Y %H:%M'
    rlg = log --color --walk-reflogs --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %gs %Cgreen(%gD) %C(bold blue)<%an>%Creset' --abbrev-commit --date=format:'%a %d.%m.%Y %H:%M'
    pushf = push --force-with-lease
    stash-all = stash save --include-untracked
    new = log -p --reverse ORIG_HEAD..
    df = diff --no-prefix
    mr = push -u -o merge_request.create
[merge]
    tool = vimdiff
    conflictstyle = diff3
[mergetool]
    keepBackup = false
[rebase]
    autosquash = true
    stat = true
[sendemail]
    smtpserver = "/usr/bin/msmtp"
    confirm = auto
[pull]
    rebase = false
[tag]
    sort = version:refname
[url "git@github.com:"]
    pushInsteadOf = "https://github.com/"
[url "git@gitlab.com:"]
    pushInsteadOf = "https://gitlab.com/"
[url "git@salsa.debian.org:"]
    pushInsteadOf = "https://salsa.debian.org/"