Last active
August 29, 2015 14:10
-
-
Save tugberkugurlu/3577f7d7e09d4fc50b58 to your computer and use it in GitHub Desktop.
Git Aliases widely used by Tugberk Ugurlu (me)
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
# awesome log: https://gist.github.com/mathiasverraes/4505589 | |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" | |
# shows all the new commits in your current branch which are not in dev | |
# usage: git new | |
git config --global alias.new 'log --pretty=oneline dev.. --reverse' | |
# this's the way the log should be. | |
# Usage: git l origin/dev.. | |
git config --global alias.l 'log --pretty=oneline' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment