workstation/roles/home-cli/tasks/gitconfig.yml

91 lines
2.2 KiB
YAML

---
- name: Git pull.rebase
community.general.git_config:
name: pull.rebase
value: 'true'
scope: global
- name: Git push.default
community.general.git_config:
name: push.default
value: simple
scope: global
- name: Git color.ui
community.general.git_config:
name: color.ui
value: auto
scope: global
- name: Git credential.helper
community.general.git_config:
name: credential.helper
value: store
scope: global
- name: Git gui.encoding
community.general.git_config:
name: gui.encoding
value: utf-8
scope: global
- name: Git guitool.Rebase.cmd
community.general.git_config:
name: guitool.Rebase.cmd
value: rebase
scope: global
- name: Git user.name
community.general.git_config:
name: user.name
value: Anthony Perkins
scope: global
- name: Git user.email
community.general.git_config:
name: user.email
value: anthony@acperkins.com
scope: global
- name: Git alias.ci
community.general.git_config:
name: alias.ci
value: commit
scope: global
- name: Git alias.co
community.general.git_config:
name: alias.co
value: checkout
scope: global
- name: Git alias.ff
community.general.git_config:
name: alias.ff
value: merge --ff-only
scope: global
- name: Git alias.graph
community.general.git_config:
name: alias.graph
value: log --graph --oneline --all
scope: global
- name: Git alias.l1
community.general.git_config:
name: alias.l1
value: log --pretty=oneline
scope: global
- name: Git alias.last
community.general.git_config:
name: alias.last
value: log -1 HEAD --pretty=fuller
scope: global
- name: Git alias.lastmail
community.general.git_config:
name: alias.lastmail
value: format-patch --stdout -1 HEAD
scope: global
- name: Git alias.unstage
community.general.git_config:
name: alias.unstage
value: reset HEAD --
scope: global
- name: Git alias.up
community.general.git_config:
name: alias.up
value: pull --rebase
scope: global
- name: Git URL rewrite
community.general.git_config:
name: url."https://code.acperkins.com/".insteadof
value: https://git.acperkins.com/
scope: global