3 ms·
This is my global gitconfig (minus personal things like user.email etc): [core] pager = [pull] ff = only I don't want git to start a merge w
by tremon 2y ago
This is my global gitconfig (minus personal things like user.email etc):
[core]
pager =
[pull]
ff = only
I don't want git to start a merge without my explicit request, hence the ff-only on git pull. Similarly, opening a pager without me explicitly asking for it is an antipattern and I can't stand tools that do so by default. My terminal has scrollback history TYVM.
[push]
default = upstream
I think this is the default now anyway, but I don't want git assuming anything about remote-local branch relationships.
[alias]
tlog = log --graph --oneline
Simple git tree-log shorthand.
[status]
showStash = true
[stash]
showPatch = true
I always tend to forget when I stashed something, so I need the explicit reminder. The second one makes git stash more like git show.