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

106 lines
2.7 KiB
YAML
Raw Normal View History

---
# Copyright 2021 Anthony Perkins
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Git pull.rebase
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: pull.rebase
2019-12-04 15:26:41 +00:00
value: 'true'
scope: global
- name: Git push.default
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: push.default
value: simple
scope: global
- name: Git color.ui
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: color.ui
value: auto
scope: global
- name: Git credential.helper
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: credential.helper
value: store
scope: global
- name: Git gui.encoding
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: gui.encoding
value: utf-8
scope: global
- name: Git guitool.Rebase.cmd
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: guitool.Rebase.cmd
value: rebase
scope: global
- name: Git user.name
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: user.name
value: Anthony Perkins
scope: global
2020-05-22 20:00:54 +00:00
- name: Git user.email
2021-02-19 20:32:22 +00:00
community.general.git_config:
2020-05-22 20:00:54 +00:00
name: user.email
value: anthony@acperkins.com
scope: global
- name: Git alias.ci
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.ci
value: commit
scope: global
- name: Git alias.co
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.co
value: checkout
scope: global
- name: Git alias.ff
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.ff
value: merge --ff-only
scope: global
- name: Git alias.graph
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.graph
value: log --graph --oneline --all
scope: global
- name: Git alias.l1
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.l1
value: log --pretty=oneline
scope: global
- name: Git alias.last
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.last
value: log -1 HEAD --pretty=fuller
scope: global
2021-02-19 20:51:21 +00:00
- name: Git alias.lastmail
community.general.git_config:
name: alias.lastmail
value: format-patch --stdout -1 HEAD
scope: global
- name: Git alias.unstage
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.unstage
value: reset HEAD --
scope: global
- name: Git alias.up
2021-02-19 20:32:22 +00:00
community.general.git_config:
name: alias.up
value: pull --rebase
scope: global
2020-01-17 11:36:57 +00:00
- name: Git URL rewrite
2021-02-19 20:32:22 +00:00
community.general.git_config:
2020-01-17 11:36:57 +00:00
name: url."https://code.acperkins.com/".insteadof
value: https://git.acperkins.com/
scope: global