Skip to content

Commit

Permalink
git: change change to reword and change change back
Browse files Browse the repository at this point in the history
  • Loading branch information
lindhe committed Jan 17, 2025
1 parent 0e2364d commit 1639442
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 @@ -11,7 +11,7 @@
c = commit -v
ca = commit -av
cap = commit -vp
change = "!git c --fixup reword:${1:-HEAD} #"
change = c --amend
cl = clone
cm = commit -m
co = checkout
Expand Down Expand Up @@ -50,6 +50,7 @@
remove-gone = "!git branch -av | grep -E '^[^\\+].*\\[gone]' | awk '{ print $1 }' | xargs git branch -D #"
review = "!git diff --color-moved=zebra $(git merge-base $(git default-branch) HEAD)..HEAD"
revieww = review --color-words='\\w+|.'
reword = "!git c --fixup reword:${1:-HEAD} #"
root = rev-parse --show-toplevel
s = status
shw = show --ignore-space-change --color-words='\\w+'
Expand Down

0 comments on commit 1639442

Please sign in to comment.