From 2c640f18b93e0cee67783b735e4137e74e72954c Mon Sep 17 00:00:00 2001 From: Alec Rust Date: Wed, 15 May 2024 18:15:57 +0100 Subject: [PATCH] Add git-line/branch-size alias --- dotfiles/.aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/.aliases b/dotfiles/.aliases index 35bc588..58d8f15 100755 --- a/dotfiles/.aliases +++ b/dotfiles/.aliases @@ -58,6 +58,10 @@ alias bert="bundle exec rails test" alias git-clean-remote-branches="gfa" alias git-clean-local-branches="gbda" +# Output current branch lines added/removed +alias git-lines="git diff --shortstat main...HEAD" +alias branch-size="git-lines" + # More memorable markdownlint-cli2 command alias mdlint="markdownlint-cli2"