Last active
February 16, 2022 09:57
-
-
Save adrianblade/4ca91f986df0320f9736150f82b2908a to your computer and use it in GitHub Desktop.
This file contains 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 | |
s = status -s | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph--date=short | |
filelog = log -u | |
dl = "!git ll -1" | |
dlc = diff --cached HEAD^ | |
mergec = merge --no-ff --no-commit | |
squash = merge --squash | |
gclean = clean -d -f -f | |
branches = !"git for-each-ref --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:iso8601)%09%(color:white)%(refname:short)' refs/heads" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment