dotfiles/git/.gitconfig

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

75 lines
1.7 KiB
INI
Raw Normal View History

2016-03-07 17:31:28 +01:00
[advice]
addEmptyPathspec = false
addIgnoredFile = false
2023-06-07 09:44:58 +02:00
[alias]
jump = !/usr/share/git/git-jump/git-jump
# 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"
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
[color]
ui = true
[commit]
verbose = true
2016-03-07 17:31:28 +01:00
[core]
editor = nvim
excludesfile = ~/.config/git/ignore
[diff]
tool = nvimdiff
context = 8
interHunkContext = 8
[difftool]
prompt = false
trustExitCode = true
[difftool "nvimdiff"]
cmd = nvim -R -d $LOCAL $REMOTE
[difftool "difftastic"]
cmd = difft $LOCAL $REMOTE
[difftool "kitty"]
cmd = kitty +kitten diff $LOCAL $REMOTE
2023-01-13 10:17:52 +01:00
[fetch]
prune = true
2020-10-05 14:28:25 +02:00
pruneTags = true
2023-01-13 10:17:52 +01:00
[http]
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]
follow = true
[merge]
tool = nvimdiff1
conflictstyle = zdiff3
ff = only
[mergetool]
prompt = false
keepBackup = false
hideResolved = false
[mergetool "nvimdiff1"]
hideResolved = true
[pager]
difftool = true
[pull]
rebase = false
[push]
default = nothing
[rebase]
autosquash = true
2022-04-12 14:15:02 +02:00
autoStash = true
updateRefs = true
[receive]
fsckObjects = true
2022-04-12 14:15:02 +02:00
[sendemail]
smtpserver = /usr/bin/msmtp
2022-12-16 15:35:56 +01:00
[user]
name = Sanchayan Maity
2021-02-11 18:49:38 +01:00
email = sanchayan@sanchayanmaity.net
login = sanchayanmaity
2022-12-16 15:35:56 +01:00
signingkey = 6F6A0609C12038F3