forked from masumndc1/mydotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig.yml
50 lines (39 loc) · 1001 Bytes
/
gitconfig.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
- hosts: localhost
become: true
gather_facts: yes
tasks:
- name: Place gitconfig themes for delta
copy:
src: themes_gitconfig
dest: ~/themes_gitconfig
mode: 0644
- name: Add settings in gitconfig file
become: false
blockinfile:
path: ~/.gitconfig
block: |
[core]
pager = delta
[include]
path = ~/themes_gitconfig
[pull]
rebase = true
[interactive]
diffFilter = delta --color-only
[delta]
features = mellow-barbet
side-by-side = true
navigate = true
light = false
line-numbers = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[color]
ui = auto
[log]
date = short
[format]
pretty = '%C(yellow)%h%Creset %C(magenta)%cd%Creset %d %s'