This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/git/config

43 lines
930 B
Plaintext
Raw Normal View History

2020-10-24 19:35:45 +02:00
[user]
2020-12-07 02:11:58 +01:00
name = {{@@ username @@}}
2021-03-09 23:56:52 +01:00
email = {{@@ mail.personal.user @@}}@{{@@ mail.personal.mail @@}}
2020-10-24 19:35:45 +02:00
2020-10-27 20:26:15 +01:00
[init]
defaultBranch = main
[commit]
verbose = true
2020-10-24 19:35:45 +02:00
[pull]
2020-12-07 02:11:58 +01:00
rebase = false
2020-11-29 20:17:40 +01:00
[pager]
2020-12-01 20:17:56 +01:00
# differ is a program that shows word-by-word diff
2020-11-29 20:27:49 +01:00
log = diffr | less
show = diffr | less
diff = diffr | less
2020-12-07 02:10:51 +01:00
2021-02-21 23:09:16 +01:00
[alias]
graph = log --graph --oneline --all
2020-12-07 02:10:51 +01:00
{%@@ if tabs @@%}
[filter "tabspace"]
smudge = unexpand --tabs={{@@ indent_width @@}} --first-only
clean = expand --tabs={{@@ indent_width @@}} --initial
2020-12-07 02:10:51 +01:00
[filter "tabspace_small"]
{%@@ set small_indent = [2, indent_width / 2] | max @@%}
smudge = unexpand --tabs={{@@ small_indent @@}} --first-only
clean = expand --tabs={{@@ small_indent @@}} --initial
2020-12-07 02:10:51 +01:00
{%@@ endif @@%}
2021-02-21 05:28:50 +01:00
[core]
excludesfile = {{@@ _dotfile_abs_dst @@}}/ignore
2021-03-22 20:13:32 +01:00
[includeIf "gitdir:~/Projects/work/"]
path = ~/.config/git/config-work
# vim: ft=ini