Update Git Graph Models
This commit is contained in:
parent
a4b6cc1b01
commit
262016d409
7 changed files with 181 additions and 3 deletions
1
.config/.gitignore
vendored
1
.config/.gitignore
vendored
|
@ -18,6 +18,7 @@
|
|||
|
||||
# git
|
||||
!/git/
|
||||
!/git-graph/
|
||||
|
||||
# KDE
|
||||
!kglobalshortcutsrc
|
||||
|
|
77
.config/git-graph/models/git-flow.toml
Normal file
77
.config/git-graph/models/git-flow.toml
Normal 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']
|
24
.config/git-graph/models/none.toml
Normal file
24
.config/git-graph/models/none.toml
Normal 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',
|
||||
]
|
43
.config/git-graph/models/simple.toml
Normal file
43
.config/git-graph/models/simple.toml
Normal 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',
|
||||
]
|
33
.config/git-graph/models/trunk.toml
Normal file
33
.config/git-graph/models/trunk.toml
Normal 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',
|
||||
]
|
|
@ -35,7 +35,7 @@ mute=Volume Mute,Volume Mute,Mute
|
|||
[ksmserver]
|
||||
Halt Without Confirmation=none,,Shut Down Without Confirmation
|
||||
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
|
||||
LogOut=none,,Log Out
|
||||
Reboot=none,,Reboot
|
||||
|
@ -299,7 +299,7 @@ PowerOff=Power Off,Power Off,Power Off
|
|||
Sleep=Sleep,Sleep,Suspend
|
||||
Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight
|
||||
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
|
||||
|
||||
[plasmashell]
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
prunetags = true
|
||||
|
||||
[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
|
||||
prune-branches = "!git fetch -p && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -d"
|
||||
show-last-commit = diff HEAD^
|
||||
|
|
Loading…
Reference in a new issue