Skip to content

Instantly share code, notes, and snippets.

@kowal
kowal / .gitconfig
Last active February 21, 2023 19:21
.gitconfig
[alias]
br = branch
co = checkout
cp = cherry-pick
dd = diff develop
dm = diff main
st = status
bn = symbolic-ref --short HEAD
amend = commit -a --amend
up = !clear && git fetch && git whatchanged --stat --pretty=format:'%Cred%h%Creset %C(bold blue)[%an]%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)' --date=relative ..origin
@kowal
kowal / .gitconfig
Last active December 11, 2015 10:48 — forked from oli/gist:1637874
Git Config File
[core]
legacyheaders = false # >git 1.5
quotepath = false
pager = less -r
[color]
ui = auto
interactive = auto
[alias]
s = status
br = branch