aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/git
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/git')
-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