Created
November 6, 2024 12:53
-
-
Save harryhanYuhao/763a05a8159fdf75cb3fe666efc54825 to your computer and use it in GitHub Desktop.
git aliases
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] | |
ps = push | |
pl = pull | |
st = status | |
ci = commit | |
co = checkout | |
br = branch | |
lg1 = "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all" | |
lg2 = "log --graph --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ai)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all" | |
lg = lg1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment