cyberzeddk

opinions with a slight chance of snow

Git alias and then some

2025-09-09 1 min read Developer

Looking back at my old very single post about git aliases made me realize that I have changed quite a few bits since then. It’s not just the aliases anymore, it’s more about my full git configuration.

General configurations

    [column]
        ui = auto
    [branch]
        sort = -committerdate
    [tag]
        sort = version:refname
    [diff]
        algorithm = histogram
        colorMoved = plain
        mnemonixprefix = true
        renames = true
    [fetch]
        prune = true
        pruneTags = true
        all = true
    [rebase]
        autoStash = true
        autoSquash = true
        updateRefs = true
    [pull]
        rebase = true
    [push]
        default = simple
        autoSetupRemote = true
        followTags = true

Formatting

    [pretty]
        slog = format:%C(auto)%h %C(magenta)%ad %C(auto)%d%C(auto) %s %C(green)[%cn]

Aliases

    st = status -s
    pur = pull --rebase origin
    aa = add -A
    cm = commit -m
    ups = commit -a --amend
    co = checkout
    cob = checkout -b
    dh = diff HEAD
    wdiff = diff -w --word-diff=color --ignore-space-at-eol
    ls = log --pretty=slog --decorate --date=relative
    ll = log --pretty=slog --decorate --date=relative --numstat
    fl = log -u
    start = !git init && git commit --allow-empty -m \"Initial commit\"

The Hard Reality of Recruiting

2021-07-22 7 min read Leadership Developer

I’ve always enjoyed being part of the recruitment process at the different companies that I’ve worked for over the years. It’s been an absolute pleasure seeing new faces showing up and giving their best indications of why you should hire them.

Applicants have come in many versions, those who write awesome applications, some that don’t even bother writing an application, some that are super nervous and those who are way more confident than their skills can carry.

Continue reading

Common Git Alias

2021-05-06 1 min read Developer

Over the years I have been collecting the aliases that makes sense for me, and by that I really mean makes sense for me :) I might have lost a few recently when I had to reinstall my laptop after a complete crash, but below you will find those I have recovered and remember to have been using quite a bunch.

Common actions

    st - status -s
    dh - diff HEAD
    aa - add -A
    cm - commit -m
    ups - commit -a --amend

Branches

    co - checkout
    cob - checkout -b
    pur = pull --rebase origin

Log

This part is mostly different views on logs, honestly I’m not sure it would make sense for anyone but me. Use it for inspiration and go modify it to fit your needs. Tharrr be no silverbullets here neither.

Continue reading