aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2025-09-05 19:30:09 +0500
committerAnton Bobov <anton@bobov.name>2025-09-05 19:30:09 +0500
commitb39a98e707b40f891445e47a37d388784bc0a11d (patch)
tree56e30786fdfccbea3d4b658d46fdb0a18c135acc
parentda34e1378b010d64d3cfe4e1459c87cc5b5307b1 (diff)
git: Update aliases
-rw-r--r--files/.gitconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/.gitconfig b/files/.gitconfig
index 1d3a73d..d89fa3d 100644
--- a/files/.gitconfig
+++ b/files/.gitconfig
@@ -49,7 +49,7 @@
amend = commit --amend
ar = !sh -c 'git archive --format=tar --prefix="$(basename "$PWD")-$1/" $1^{tree} | bzip2 >"$(basename "$PWD")-$1.tar.bz2"' -
br = branch --sort=-committerdate
- blame = blame -w -C -C -C
+ b = blame -w -C -C -C
acm = !git add --all && git commit -m
c = commit --verbose
co = checkout
@@ -60,6 +60,7 @@
dshow = "!f() { DFT_BACKGROUND=light git -c diff.external=difft show --ext-diff $@; }; f"
dlog = "!f() { DFT_BACKGROUND=light git -c diff.external=difft log -p --ext-diff $@; }; f"
ddiff = "!f() { DFT_BACKGROUND=light git -c diff.external=difft diff $@; }; f"
+ fp = format-patch --find-renames --find-copies
fix = commit --amend -C HEAD
try = merge --no-commit --no-ff
history-all = "!gitk --all $( git fsck | awk '/dangling commit/ {print $3}'; git log -g --pretty='format:%H')"