2016-03-07 17:31:28 +01:00
|
|
|
[advice]
|
|
|
|
addEmptyPathspec = false
|
2023-05-09 08:41:55 +02:00
|
|
|
addIgnoredFile = false
|
2023-06-07 09:44:58 +02:00
|
|
|
[alias]
|
|
|
|
jump = !/usr/share/git/git-jump/git-jump
|
2023-06-17 07:51:22 +02:00
|
|
|
# Based on https://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit
|
|
|
|
recent = "!rb() { \
|
|
|
|
git branch --all --color=always --sort=-committerdate \
|
|
|
|
--format='%(HEAD) %(color:bold green)%(committerdate:relative)%(color:reset)|%(color:yellow)%(refname:short)%(color:reset)|%(subject)' \
|
|
|
|
| head -n ${1:-15} | column -ts'|'; }; \
|
|
|
|
rb"
|
2024-04-18 15:52:28 +02:00
|
|
|
[branch]
|
|
|
|
sort = -committerdate
|
2016-03-07 17:31:28 +01:00
|
|
|
[blame]
|
2022-04-12 14:15:02 +02:00
|
|
|
# Mark any lines that have had a commit skipped using --ignore-rev with a `?`
|
|
|
|
markIgnoredLines = true
|
2016-03-07 17:31:28 +01:00
|
|
|
# Mark any lines that were added in a skipped commit and can not be attributed with a `*`
|
2021-02-11 18:49:38 +01:00
|
|
|
markUnblamableLines = true
|
2019-12-31 10:29:43 +01:00
|
|
|
[color]
|
|
|
|
ui = true
|
|
|
|
[commit]
|
2024-04-24 15:07:34 +02:00
|
|
|
cleanup = scissors
|
2020-05-21 06:57:17 +02:00
|
|
|
verbose = true
|
2016-03-07 17:31:28 +01:00
|
|
|
[core]
|
2022-09-05 12:48:45 +02:00
|
|
|
editor = nvim
|
2020-04-16 06:45:30 +02:00
|
|
|
excludesfile = ~/.config/git/ignore
|
2020-09-25 11:25:57 +02:00
|
|
|
[diff]
|
2024-04-24 15:07:34 +02:00
|
|
|
algorithm = histogram
|
|
|
|
colorMoved = zebra
|
|
|
|
colorMovedWS = allow-indentation-change
|
2024-02-07 10:22:34 +01:00
|
|
|
context = 10
|
|
|
|
interHunkContext = 10
|
|
|
|
submodule = log
|
2024-04-24 15:07:34 +02:00
|
|
|
tool = nvimdiff
|
2022-01-04 14:52:45 +01:00
|
|
|
[difftool]
|
|
|
|
prompt = false
|
|
|
|
trustExitCode = true
|
2021-12-14 07:26:14 +01:00
|
|
|
[difftool "nvimdiff"]
|
2022-01-04 14:52:45 +01:00
|
|
|
cmd = nvim -R -d $LOCAL $REMOTE
|
2022-03-31 16:07:31 +02:00
|
|
|
[difftool "difftastic"]
|
|
|
|
cmd = difft $LOCAL $REMOTE
|
2022-01-04 14:52:45 +01:00
|
|
|
[difftool "kitty"]
|
|
|
|
cmd = kitty +kitten diff $LOCAL $REMOTE
|
2023-01-13 10:17:52 +01:00
|
|
|
[fetch]
|
2024-04-24 15:07:34 +02:00
|
|
|
fsckObjects = true
|
2020-09-18 08:02:05 +02:00
|
|
|
prune = true
|
2020-10-05 14:28:25 +02:00
|
|
|
pruneTags = true
|
2023-01-13 10:17:52 +01:00
|
|
|
[http]
|
2019-12-31 10:29:43 +01:00
|
|
|
sslVerify = false
|
2023-01-13 10:17:52 +01:00
|
|
|
[init]
|
2021-02-02 05:09:23 +01:00
|
|
|
defaultBranch = master
|
2023-01-13 10:17:52 +01:00
|
|
|
[log]
|
2021-10-20 14:31:08 +02:00
|
|
|
follow = true
|
2020-02-16 13:24:11 +01:00
|
|
|
[merge]
|
2022-05-03 05:56:36 +02:00
|
|
|
conflictstyle = zdiff3
|
2020-10-01 10:02:01 +02:00
|
|
|
ff = only
|
2024-04-24 15:07:34 +02:00
|
|
|
tool = nvimdiff1
|
2020-09-17 07:05:16 +02:00
|
|
|
[mergetool]
|
2023-01-17 04:51:53 +01:00
|
|
|
hideResolved = false
|
2024-04-24 15:07:34 +02:00
|
|
|
keepBackup = false
|
|
|
|
prompt = false
|
2023-01-17 04:51:53 +01:00
|
|
|
[mergetool "nvimdiff1"]
|
|
|
|
hideResolved = true
|
2023-01-13 10:49:45 +01:00
|
|
|
[pager]
|
|
|
|
difftool = true
|
2024-02-07 10:22:34 +01:00
|
|
|
[protocol "http"]
|
|
|
|
allow = never
|
2020-06-13 10:45:10 +02:00
|
|
|
[pull]
|
|
|
|
rebase = false
|
2020-10-01 10:02:01 +02:00
|
|
|
[push]
|
2021-09-23 09:42:43 +02:00
|
|
|
default = nothing
|
2021-01-28 08:32:34 +01:00
|
|
|
[rebase]
|
2021-10-20 14:31:08 +02:00
|
|
|
autosquash = true
|
2022-04-12 14:15:02 +02:00
|
|
|
autoStash = true
|
|
|
|
updateRefs = true
|
2023-11-11 14:34:46 +01:00
|
|
|
[receive]
|
|
|
|
fsckObjects = true
|
2022-04-12 14:15:02 +02:00
|
|
|
[sendemail]
|
|
|
|
smtpserver = /usr/bin/msmtp
|
2024-02-07 10:22:34 +01:00
|
|
|
[stash]
|
|
|
|
showPatch = true
|
2024-04-24 15:07:34 +02:00
|
|
|
[status]
|
|
|
|
submoduleSummary = true
|
2024-02-07 10:22:34 +01:00
|
|
|
[submodule]
|
|
|
|
recurse = true
|
2024-04-24 15:07:34 +02:00
|
|
|
[tag]
|
|
|
|
sort = -taggerdate
|
2024-02-07 10:22:34 +01:00
|
|
|
[transfer]
|
|
|
|
fsckObjects = true
|
2022-12-16 15:35:56 +01:00
|
|
|
[user]
|
2019-12-31 10:29:43 +01:00
|
|
|
name = Sanchayan Maity
|
2021-02-11 18:49:38 +01:00
|
|
|
email = sanchayan@sanchayanmaity.net
|
2019-12-31 10:29:43 +01:00
|
|
|
login = sanchayanmaity
|
2022-12-16 15:35:56 +01:00
|
|
|
signingkey = 6F6A0609C12038F3
|