aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-22 17:21:23 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-22 17:21:23 +0100
commitca80f735ec3d0eb6439d09e864bb0ff58d78260e (patch)
treeeffaaa5c997a4b41a1a55d46177360c4ca9a70b3 /home
parent5a4a4e470d9c56c39cf15d28dbd41b4b69185dc4 (diff)
downloaddotfiles-ca80f735ec3d0eb6439d09e864bb0ff58d78260e.tar.gz
dotfiles-ca80f735ec3d0eb6439d09e864bb0ff58d78260e.tar.bz2
dotfiles-ca80f735ec3d0eb6439d09e864bb0ff58d78260e.zip
[git] Add work conditional config
Diffstat (limited to 'home')
-rw-r--r--home/.config/git/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/.config/git/config b/home/.config/git/config
index 287b3a2..4500dc4 100644
--- a/home/.config/git/config
+++ b/home/.config/git/config
@@ -110,3 +110,7 @@
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'"
gone = !git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D
ab=absorb --and-rebase
+[includeIf "gitdir:~/work/"]
+ path = config-work
+[includeIf "gitdir:~/doxfiles/.git"]
+ path = config-personal