Skip to content

Commit

Permalink
git: Improve review alias, add revieww
Browse files Browse the repository at this point in the history
  • Loading branch information
lindhe committed Jul 13, 2024
1 parent 6ba44a1 commit 1c06260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
rebb = rebase --autostash
rem = remote -v
remove-gone = "!git branch -av | grep -E '^[^\\+].*\\[gone]' | awk '{ print $1 }' | xargs git branch -D #"
review = "!git diff --color-words='\\w+|.' --color-moved=zebra $(git merge-base $(git default-branch) HEAD) ${@} #"
review = "!git diff --color-moved=zebra $(git merge-base $(git default-branch) HEAD)..HEAD"
revieww = review --color-words='\\w+|.'
root = rev-parse --show-toplevel
s = status
shw = show --ignore-space-change --color-words='\\w+'
Expand Down

0 comments on commit 1c06260

Please sign in to comment.