chore: move out user roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
281b95d824
commit
0554e665c5
157 changed files with 17 additions and 17 deletions
roles/git/templates
63
roles/git/templates/gitconfig
Normal file
63
roles/git/templates/gitconfig
Normal file
|
@ -0,0 +1,63 @@
|
|||
[alias]
|
||||
scommit = commit --signoff
|
||||
graph = log --oneline --decorate --graph --all
|
||||
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
||||
[core]
|
||||
editor = code --wait
|
||||
excludesfile = /home/{{ target_user }}/.gitignore
|
||||
pager = delta
|
||||
|
||||
[delta]
|
||||
file-style = blue bold
|
||||
# file-decoration-style = omit
|
||||
hunk-header-style = omit
|
||||
hunk-header-decoration-style = omit
|
||||
# minus-emph-style = normal "#701011"
|
||||
# plus-emph-style = syntax "#105010"
|
||||
|
||||
line-numbers = true
|
||||
hyperlinks = true
|
||||
# hyperlinks-file-link-format = "vscode://file/{path}:{line}"
|
||||
# side-by-side = true
|
||||
navigate = true
|
||||
features = decorations
|
||||
syntax-theme = Dracula
|
||||
|
||||
[diff]
|
||||
tool = vscode-difftool
|
||||
|
||||
[difftool "vscode-difftool"]
|
||||
cmd = code --wait --diff $LOCAL $REMOTE
|
||||
|
||||
[gpg]
|
||||
# format = ssh
|
||||
program = gpg2
|
||||
|
||||
[gpg "ssh"]
|
||||
allowedSignersFile = /home/{{ target_user }}/.ssh/allowed_signers
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[pull]
|
||||
rebase = true
|
||||
|
||||
[rebase]
|
||||
autoStash = true
|
||||
|
||||
[tag]
|
||||
gpgSign = true
|
||||
|
||||
[user]
|
||||
name = {{ fullname }}
|
||||
email = {{ git_email }}
|
||||
signingkey = {{ gpg_signingkey }}
|
||||
|
||||
[includeIf "gitdir:~/git/github.com/packit/"]
|
||||
path = /home/{{ target_user }}/git/github.com/packit/.gitconfig
|
||||
|
||||
[includeIf "gitdir:~/git/gitlab.fi.muni.cz/"]
|
||||
path = /home/{{ target_user }}/git/gitlab.fi.muni.cz/.gitconfig
|
Loading…
Add table
Add a link
Reference in a new issue