Skip to content

Instantly share code, notes, and snippets.

View saluber's full-sized avatar
🙃

Samantha Luber saluber

🙃
View GitHub Profile
@saluber
saluber / .gitconfig
Created July 2, 2019 05:47 — forked from jonico/.gitconfig
My .gitconfig
[alias]
# View abbreviated SHA, description, and history graph of the latest 20 commits
l = log --pretty=oneline -n 20 --graph --abbrev-commit
# View the current working tree status using the short format
s = status -s
# Show the diff between the latest commit and the current state
d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat"