Skip to content

Instantly share code, notes, and snippets.

@naoki-sawada
Created September 14, 2017 09:51
Show Gist options
  • Save naoki-sawada/6092bfe986f62c3b6053c8b2a4907e16 to your computer and use it in GitHub Desktop.
Save naoki-sawada/6092bfe986f62c3b6053c8b2a4907e16 to your computer and use it in GitHub Desktop.
[alias]
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
ignore = !"f() { local s=$1; shift; \
while [ $# -gt 0 ]; do s=\"$s,$1\"; shift; done;\
curl \"https://www.gitignore.io/api/$s\"; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment