My .gitconfig aliases. I will post more updates as I progress.
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] | |
ci = commit | |
co = checkout | |
st = status | |
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(blue)%h%C(reset) - %C(green)%ar%C(reset) %C(black)%s%C(reset) %C(dim black)[%an]%C(reset)%C(red)%d%C(reset)' --all # git log with lot of detail and tree-view | |
ll = log --pretty=format:'%C(blue)%h%Cred%d %Creset%s%Cblue %C(dim black)[%an]%C(reset)' --decorate # short and practical version of alias.lg | |
dfl = diff --cached HEAD^ #diff last commit | |
la = "!git config -l | grep alias | cut -c 7-" # list of all aliases, just to remember them all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment