Created
April 30, 2018 12:11
-
-
Save rpunt/a2d9514e2c1414a7500f803281626c4f to your computer and use it in GitHub Desktop.
Git Configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
since = !git log $(git merge-base --fork-point master)..HEAD | |
files-changed="!f() { git log --name-only $1..HEAD --oneline --format=%n ${2:-.} | grep -v '^$' | sort | uniq; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment