diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-24 19:24:55 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-24 19:24:55 -0500 |
| commit | e2a70a92822b22633562e9695c300efec2b5cbeb (patch) | |
| tree | fbd1658be1ab5edb1470d9a8e4b758818cc7124c /git | |
| parent | 4052357e021085bc1c761108446ee09a778ade15 (diff) | |
updates
Diffstat (limited to 'git')
| -rw-r--r-- | git/dot-config/git/config | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/git/dot-config/git/config b/git/dot-config/git/config index 62ddc08..3a89c6f 100644 --- a/git/dot-config/git/config +++ b/git/dot-config/git/config @@ -4,30 +4,49 @@ ci = commit s = status -sb l = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%ai%C(reset) - %C(bold white)%an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)' - [pull] rebase = true - [init] defaultBranch = main - [user] name = Mohammad Reza Karimi email = m.r.karimi.j@gmail.com signingkey = 802D310CAC1F1CE6EDD55DF10A777EAC5BCAEB1B - [commit] verbose = true gpgsign = true - [tag] gpgsign = true - +[difftool "nvim_difftool"] + cmd = nvim -c \"packadd nvim.difftool\" -c \"DiffTool $LOCAL $REMOTE\" +[difftool "difftastic"] + cmd = difft "$LOCAL" "$REMOTE" +[difftool] + prompt = false [diff] algorithm = histogram - + tool = difftastic +[mergetool "fugitive"] + cmd = nvim -c \"Gvdiffsplit!\" \"$MERGED\" [merge] + tool = fugitive conflictstyle = zdiff3 +[grep] + lineNumber = true + column = true + patternType = extended +[pager] + difftool = true +[rerere] + enabled = true +[fetch] + prune = true [credential "https://git.overleaf.com"] helper = !pass git/overleaf@mit +[url "https://github.com/"] + insteadOf = gh: +[url "https://codeberg.org/"] + insteadOf = cb: + +# vim: ft=gitconfig |
