My gitconfig

A snippet I use to setup the aliases and global git config on new machines.

My gitconfig
        email = <email>
        name = Koen van Gilst
        ac = !git add -A && git commit
        amen = !git add --all && git commit --amend
        ls = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
        changelog = log --pretty='- %s'
        undo = reset --soft HEAD^
        ignorecase = true
        editor = nano
        ff = only
        defaultBranch = main
        prune = true