Dotfiles/site-modules/core/templates/gitconfig.liquid
Ade Attwood ac75f42cfb chore: add github git auth helper
Adds the auth helper to the config. This is used mainly for sapling so
we can push and pull to git repos. I need to run this after each time I
configure the system because this file is a template not a symlink

This was originally added with the `gh` cli tool running the following
command:

```bash
gh auth setup-git
```
2024-07-04 21:34:33 +01:00

48 lines
897 B
Text

#
# !! DO NOT EDIT !!
# !! This file is managed by configz !!
#
[user]
name = {{ data.user_name }}
email = {{ data.email }}
[core]
editor = nvim
autocrlf = input
[merge]
conflictstyle = diff3
[rerere]
enabled = true
[push]
default = current
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[delta]
line-numbers = true
navigate = true
navigate-regex = "^(modified|added:|removed:|renamed:|Δ|@@\\s)"
hunk-header-style = raw
hunk-header-decoration-style = ul
file-modified-label = "modified:"
file-removed-label = "removed:"
file-added-label = "added:"
file-renamed-label = "renamed:"
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential