[user]
	email = ayushdumasia00@gmail.com
	name = Ayush Dumasia

[core]
  editor = vim
  compression = 9
  whitespace = error
  preloadindex = true
  pager = diff-so-fancy | less --tabs=4 -RFX

[advice]
  addEmptyPathspec = false
  pushNonFastForward = false
  statusHints = true

[url "git@github.com:ad1822/"]
  insteadOf = "ad:"

[url "git@github.com:"]
  insteadOf = "gh:"

[init]
  defaultBranch = dev

[diff]
    context = 3
    renames = copies
    interHunkContext = 10

[pager]
    diff = diff-so-fancy |  less --tabs=4 -RFX

[diff-so-fancy]
    markEmptyLines = true

[color "diff"]
    meta = yellow bold
    fraq = magenta
    context = white
    whitespace = yellow reverse
    old = red

[interactive]
    diffFilter = diff-so-fancy --patch
    singleKey = true

[commit]
    gpgSign = false
    template = ~/.config/git/template

[push]
    autoSetupRemote = true
    default = current
    followTags = true
    gpgSign = false

[pull]
    default = current
    rebase = true

[rebase]
    autoStash = true
    missingCommitsCheck = warn

[submodule]
    fetchJobs = 16

[color "blame"]
    highlightRecent = black bold,1 year ago,white,1 month ago,default,7 days ago,blue

[log]
    abbrevCommit = true
    graphColors = blue,yellow,cyan,magenta,green,red

[blame]
    coloring = highlightRecent
    date = relative

[status]
    branch = true
    short = true
    showStash = true
    showUntrackedFiles = all

[color "branch"]
    current  = magenta
    local    = default
    remote   = yellow
    upstream = green
    plain    = blue

[alias]
    st = status
    ss = status -s
    ci = commit
    co = checkout
    br = branch -a
    aa = add -A
    ap = add --patch
    cdf = clean -df

    lo = log --oneline
    l = log --all --graph --decorate --oneline --abbrev-commit --date=short
    r = remote
    conf = config --global --edit
    df = diff
    structure = log --oneline --simplify-by-decoration --graph --all
    slog = log --pretty=format:'%C(auto)%h %C(red)%as %C(blue)%aN%C(auto)%d%C(green) %s'
    s5 = slog -5 --graph
    s10 = slog -10

# [gpg]
# 	format = opengpg

[gpg "ssh"]
	  program = ssh-keygen
