Files

50 lines
839 B
Django/Jinja

[user]
name = {{ git_name | default("Your Name") }}
email = {{ git_email | default("your.email@example.com") }}
[core]
editor = {{ editor | default("vim") }}
autocrlf = input
excludesfile = ~/.gitignore_global
[push]
default = simple
[pull]
rebase = false
[alias]
st = status
co = checkout
br = branch
ci = commit
lg = log --oneline --graph --decorate
unstage = reset HEAD --
{% if machine == 'desktop' %}
[diff]
tool = meld
{% endif %}
[color]
ui = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan