diff options
author | Steph Enders <steph@senders.io> | 2023-03-30 16:20:31 -0400 |
---|---|---|
committer | Steph Enders <steph@senders.io> | 2023-03-30 16:20:31 -0400 |
commit | 6422e91c326233097ca9d0079913f7e6b3eeb1d8 (patch) | |
tree | 31a52e49b7a61c040ffd644a4dceef1407c8ae05 /.gitconfig | |
parent | da88a8ca391183a001ecc2e5a65009185087d99e (diff) |
Fix sum method to be defaultBranch agnostic
Diffstat (limited to '.gitconfig')
-rw-r--r-- | .gitconfig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ [alias] st = status -sb lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all - sum = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative master..HEAD + sum = "!git 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 --get init.defaultBranch)\"..HEAD" co = checkout df = diff cp = cherry-pick |