diff options
| author | Anton Bobov <abobov@gmail.com> | 2016-12-30 11:21:57 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2017-02-22 22:14:20 +0500 |
| commit | 0f4694507c4309fadfad9cadfbbd07058da2920f (patch) | |
| tree | 3261a8bf07626517da262b1262c3287f44048bd0 /files | |
| parent | 2dc2677189a8e0fcc0445b3d9697c1fa4df1d168 (diff) | |
[git] Update config.
Diffstat (limited to 'files')
| -rw-r--r-- | files/.gitconfig | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/files/.gitconfig b/files/.gitconfig index a6bcf5c..a179549 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -27,16 +27,23 @@ kb = !sh -c 'gitk --branches' - lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative st = status -[push] - default = matching + addnw = !sh -c 'git diff --unified=0 --ignore-all-space --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -' + branch-name = "!git rev-parse --abbrev-ref HEAD" + publish = "!git push -u origin $(git branch-name)" [advice] statusHints = false [branch] autosetupmerge = always autosetuprebase = local +[rebase] + instructionFormat = %s [%an] {%ar} [help] autocorrect = 10 [credential] - helper = cache + helper = netrc [remote-hg] - hg-git-compat = true + hg-git-compat = true +[filter "tabs"] + ;clean = unexpand --tabs=4 --first-only +[gui] + tabsize = 4 |
