Update Git Graph Models

This commit is contained in:
Snoweuph 2024-11-23 17:09:49 +01:00
parent a4b6cc1b01
commit 262016d409
Signed by: Snoweuph
GPG key ID: BEFC41DA223CEC55
7 changed files with 181 additions and 3 deletions

1
.config/.gitignore vendored
View file

@ -18,6 +18,7 @@
# git # git
!/git/ !/git/
!/git-graph/
# KDE # KDE
!kglobalshortcutsrc !kglobalshortcutsrc

View file

@ -0,0 +1,77 @@
persistence = [
'^(master|main)$',
'^(develop|dev)$',
'^feature.*$',
'^release.*$',
'^hotfix.*$',
'^bugfix.*$',
]
order = [
'^(master|main)$',
'^(hotfix|release).*$',
'^(develop|dev)$',
]
[terminal_colors]
matches = [
[
'^(master|main)$',
['bright_blue'],
],
[
'^(develop|dev)$',
['bright_yellow'],
],
[
'^(feature|fork/).*$',
[
'bright_magenta',
'bright_cyan',
],
],
[
'^release.*$',
['bright_green'],
],
[
'^(bugfix|hotfix).*$',
['bright_red'],
],
[
'^tags/.*$',
['bright_green'],
],
]
unknown = ['white']
[svg_colors]
matches = [
[
'^(master|main)$',
['blue'],
],
[
'^(develop|dev)$',
['orange'],
],
[
'^(feature|fork/).*$',
[
'purple',
'turquoise',
],
],
[
'^release.*$',
['green'],
],
[
'^(bugfix|hotfix).*$',
['red'],
],
[
'^tags/.*$',
['green'],
],
]
unknown = ['gray']

View file

@ -0,0 +1,24 @@
persistence = []
order = []
[terminal_colors]
matches = []
unknown = [
'bright_blue',
'bright_yellow',
'bright_green',
'bright_red',
'bright_magenta',
'bright_cyan',
]
[svg_colors]
matches = []
unknown = [
'blue',
'orange',
'green',
'red',
'purple',
'turquoise',
]

View file

@ -0,0 +1,43 @@
persistence = ['^(master|main)$']
order = [
'^tags/.*$',
'^(master|main)$',
]
[terminal_colors]
matches = [
[
'^(master|main)$',
['bright_blue'],
],
[
'^tags/.*$',
['bright_green'],
],
]
unknown = [
'bright_yellow',
'bright_green',
'bright_red',
'bright_magenta',
'bright_cyan',
]
[svg_colors]
matches = [
[
'^(master|main)$',
['blue'],
],
[
'^tags/.*$',
['green'],
],
]
unknown = [
'orange',
'green',
'red',
'purple',
'turquoise',
]

View file

@ -0,0 +1,33 @@
persistence = [
'^(trunk)$',
'^story.*$',
]
order = [
'^trunk$',
]
[terminal_colors]
matches = [
[
'^trunk$',
['bright_blue'],
],
]
unknown = [
'bright_yellow',
'bright_green',
'bright_red',
'bright_magenta',
'bright_cyan',
]
[svg_colors]
matches = []
unknown = [
'blue',
'orange',
'green',
'red',
'purple',
'turquoise',
]

View file

@ -35,7 +35,7 @@ mute=Volume Mute,Volume Mute,Mute
[ksmserver] [ksmserver]
Halt Without Confirmation=none,,Shut Down Without Confirmation Halt Without Confirmation=none,,Shut Down Without Confirmation
Lock Session=Screensaver,Meta+L\tScreensaver,Lock Session Lock Session=Screensaver,Meta+L\tScreensaver,Lock Session
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Prompt Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Screen
Log Out Without Confirmation=none,,Log Out Without Confirmation Log Out Without Confirmation=none,,Log Out Without Confirmation
LogOut=none,,Log Out LogOut=none,,Log Out
Reboot=none,,Reboot Reboot=none,,Reboot
@ -299,7 +299,7 @@ PowerOff=Power Off,Power Off,Power Off
Sleep=Sleep,Sleep,Suspend Sleep=Sleep,Sleep,Suspend
Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight
Turn Off Screen=none,none,Turn Off Screen Turn Off Screen=none,none,Turn Off Screen
_k_friendly_name=KDE Power Management System _k_friendly_name=Power Management
powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile
[plasmashell] [plasmashell]

View file

@ -24,7 +24,7 @@
prunetags = true prunetags = true
[alias] [alias]
adog ="!git-graph --model none --color=always | LESS='-R' less" adog ="!git-graph --model=trunk --color=always | LESS='-R' less"
fl = push --force-with-lease fl = push --force-with-lease
prune-branches = "!git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d" prune-branches = "!git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d"
show-last-commit = diff HEAD^ show-last-commit = diff HEAD^