-
Notifications
You must be signed in to change notification settings - Fork 1
/
git_config.yaml
executable file
·41 lines (41 loc) · 999 Bytes
/
git_config.yaml
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
#!/usr/bin/env ANSIBLE_HOSTS="localhost," ANSIBLE_CONNECTION=local ansible-playbook
# vim:ft=yaml
---
- name: Insert my personal .gitconfig
hosts: localhost
tasks:
- name: Alias ci to commit
git_config:
name: alias.ci
scope: global
value: commit
- name: Alias ci to commit
git_config:
name: alias.ci
scope: global
value: commit
- name: Make vim default editor
git_config:
name: core.editor
scope: global
value: vim
- name: Color UI
git_config:
name: color.ui
value: auto
scope: global
- name: Set email
git_config:
name: user.email
value: [email protected]
scope: global
- name: Set name
git_config:
name: user.name
value: [email protected]
scope: global
- name: Set push default
git_config:
name: push.default
value: simple
scope: global