From 8f208ca771407bfc77ac912de60fd7a153cc7200 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 2 Dec 2022 17:14:31 +0200
Subject: [PATCH] Some Git config updates.

- Pick alias for the git log pickaxe.
- Keep notes synced after a rebase (see
  https://stackoverflow.com/a/14601464/10535223).
---
 .config/git/config | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.config/git/config b/.config/git/config
index a1dcf2c..eb1e96c 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -18,6 +18,7 @@
     forget = reset HEAD^
     iec = commit --allow-empty --only --message \"Initial empty commit.\"
     merg = merge --no-edit
+    pick = log --pickaxe-all --patch -G
     pop = stash pop
     posh = push --set-upstream origin HEAD
     pre-commit = ! pre-commit run --files $(git uncommitted)
@@ -72,6 +73,9 @@
     tool = meld
     ff = false
 
+[notes]
+    rewriteRef = refs/notes/commits
+
 [push]
     followTags = true
     default = simple
-- 
GitLab