Skip to content

Commit

Permalink
Add git-line/branch-size alias
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed May 15, 2024
1 parent e09c2ec commit 2c640f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dotfiles/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 2c640f1

Please sign in to comment.