git: update work gitdir path
This commit is contained in:
parent
43e0fdf85e
commit
1044517e8f
|
@ -126,6 +126,7 @@ abbr -g gc 'git commit'
|
|||
abbr -g gca 'git commit --all'
|
||||
abbr -g gcf 'git commit --fixup'
|
||||
abbr -g gp 'git push'
|
||||
abbr -g gw 'git switch'
|
||||
abbr -g gr 'cd (git root)'
|
||||
abbr -g gri 'git rebase --interactive FETCH_HEAD'
|
||||
|
||||
|
|
|
@ -5,11 +5,6 @@
|
|||
# | |_| | | |_
|
||||
# \____|_|\__|
|
||||
|
||||
|
||||
[user]
|
||||
name = {{@@ username @@}}
|
||||
email = {{@@ mail.personal.user @@}}
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
|
@ -55,7 +50,10 @@
|
|||
excludesfile = {{@@ _dotfile_abs_dst @@}}/ignore
|
||||
; hooksPath = {{@@ _dotfile_abs_dst @@}}/hooks/
|
||||
|
||||
[includeIf "gitdir:~/Projects/work/"]
|
||||
path = ~/.config/git/config-work
|
||||
[includeIf "gitdir:~/Projects/"]
|
||||
path = {{@@ _dotfile_abs_dst @@}}/config-personal
|
||||
|
||||
[includeIf "gitdir:~/Wopus/"]
|
||||
path = {{@@ _dotfile_abs_dst @@}}/config-work
|
||||
|
||||
# vim: ft=ini
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
# {{@@ header() @@}}
|
||||
# ____ _ _
|
||||
# / ___(_) |_
|
||||
# | | _| | __|
|
||||
# | |_| | | |_
|
||||
# \____|_|\__|
|
||||
|
||||
|
||||
[user]
|
||||
name = {{@@ username @@}}
|
||||
email = {{@@ mail.personal.user @@}}
|
||||
|
||||
# vim: ft=ini
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
|
||||
[user]
|
||||
name = {{@@ mail.work.from | capitalize @@}}
|
||||
email = {{@@ mail.work.user.split("@")[0] @@}}
|
||||
name = {{@@ mail.work.from | title @@}}
|
||||
email = {{@@ mail.work.user @@}}
|
||||
|
||||
# vim: ft=ini
|
||||
|
|
Reference in New Issue