aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-11 15:59:02 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-11 15:59:02 +0100
commitc9819e76c4e526f733b3d3cd1b695a6bd548c611 (patch)
treee98d19bff66fe41d30e9eb14b2986ea8c5ff601d /home/.config
parent0d5ac454b70c65fce9aaf164d34bf3d617ee8364 (diff)
downloaddotfiles-c9819e76c4e526f733b3d3cd1b695a6bd548c611.tar.gz
dotfiles-c9819e76c4e526f733b3d3cd1b695a6bd548c611.tar.bz2
dotfiles-c9819e76c4e526f733b3d3cd1b695a6bd548c611.zip
git: add fmt alias
Diffstat (limited to 'home/.config')
-rw-r--r--home/.config/git/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/.config/git/config b/home/.config/git/config
index 9e538a6..58708fd 100644
--- a/home/.config/git/config
+++ b/home/.config/git/config
@@ -96,6 +96,7 @@
fa = fetch --all
ff = merge --ff-only
find-merge = "!sh -c 'commit=$0 && branch=${1:-HEAD} && (git rev-list $commit..$branch --ancestry-path | cat -n; git rev-list $commit..$branch --first-parent | cat -n) | sort -k2 -s | uniq -f1 -d | sort -n | tail -1 | cut -f2'"
+ fmt = clang-format -f
fp = push --force-with-lease
gone = !git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D
l = log