Last active
September 23, 2019 14:37
-
-
Save svenluijten/14683a2c1e3a6a555269b7a2ab8877e7 to your computer and use it in GitHub Desktop.
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
# | |
# Available at https://git.io/sven-git-aliases | |
# | |
# run "curl -fsSL https://git.io/sven-git-aliases | sh" to apply these automagically. | |
# | |
git config alias.st "status -sb" | |
git config 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" | |
git config alias.df "diff --" | |
git config alias.branch-name "rev-parse --abbrev-ref HEAD" | |
git config alias.find = "log --pretty=\"format:%Cblue%H %Cgreen%s%Creset\" --abbrev-commit --grep" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment