Skip to content

Instantly share code, notes, and snippets.

[alias]
# Not Mine
branch-name = !git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \\(.*\\)/\\1/'
export-branch = !git format-patch --stdout $1 > ~/Desktop/`git branch-name`.diff
s = status -s
d = diff
ds = diff --stat
dc = diff --cached
# Logging